public function getSemantics($name, $majorVersion, $minorVersion) {
    $library = H5PDevelopment::libraryToString($name, $majorVersion, $minorVersion);
    if (isset($this->libraries[$library]) === FALSE) {
      return NULL;
    }
    return $this->getFileContents($this->filesPath . $this->libraries[$library]['path'] . '/semantics.json');
  }
public function getSemantics($name, $majorVersion, $minorVersion) {
    $library = H5PDevelopment::libraryToString($name, $majorVersion, $minorVersion);
    if (isset($this->libraries[$library]) === FALSE) {
      return NULL;
    }
    return $this->getFileContents($this->filesPath . $this->libraries[$library]['path'] . '/semantics.json');
  }
public function getSemantics ( $ name , $ majorVersion , $ minorVersion ) { $ library = H5PDevelopment :: libraryToString ( $ name , $ majorVersion , $ minorVersion ) ; if ( isset ( $ this -> libraries [ $ library ] ) === FALSE ) { return NULL ; } return $ this -> getFileContents ( $ this -> filesPath . $ this -> libraries [ $ library ] [ 'path' ] . '/semantics.json' ) ; }
Get semantics for the given library.

@param string $name of the library.
@param int $majorVersion of the library.
@param int $minorVersion of the library.
@return string Semantics
Get semantics for the given library .