add missing methods in src/Repositories/H5PEditorStorageRepository.php
Closed this issue · 0 comments
qunabu commented
see src/Repositories/H5PEditorStorageRepository.php
there are some methods that are missing implementation like
/**
* Alter styles and scripts
*
* @param array $files
* List of files as objects with path and version as properties
* @param array $libraries
* List of libraries indexed by machineName with objects as values. The objects
* have majorVersion and minorVersion as properties.
*/
public function alterLibraryFiles(&$files, $libraries)
{
}
/**
* Saves a file or moves it temporarily. This is often necessary in order to
* validate and store uploaded or fetched H5Ps.
*
* @param string $data Uri of data that should be saved as a temporary file
* @param boolean $move_file Can be set to TRUE to move the data instead of saving it
*
* @return bool|object Returns false if saving failed or the path to the file
* if saving succeeded
*/
public static function saveFileTemporarily($data, $move_file)
{
}
/**
* Clean up temporary files
*
* @param string $filePath Path to file or directory
*/
public static function removeTemporarilySavedFiles($filePath)
{
// TODO implement this
}