Added interface function that returns library file URL [HFP-805]

pull/36/head
Paal Joergensen 2017-03-07 10:25:52 +01:00
parent c8b123c5c3
commit 37f4399ab4
1 changed files with 7 additions and 1 deletions

View File

@ -67,7 +67,13 @@ interface H5PFrameworkInterface {
*/
public function t($message, $replacements = array());
public function getLibraryFilePath($library_folder, $file);
/**
* Get URL to file in the specific library
* @param string $libraryFolderName
* @param string $fileName
* @return string URL to file
*/
public function getLibraryFileUrl($libraryFolderName, $fileName);
/**
* Get the Path to the last uploaded h5p