(no description)
Copyright: | 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 103 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
backup_file_manager:: (3 methods):
get_backup_storage_base_dir()
get_backup_content_file_location()
copy_file_moodle2backup()
Class: backup_file_manager - X-Ref
Collection of helper functions to handle filesget_backup_storage_base_dir($backupid) X-Ref |
Returns the full path to backup storage base dir |
get_backup_content_file_location($contenthash) X-Ref |
Given one file content hash, returns the path (relative to filedir) to the file. |
copy_file_moodle2backup($backupid, $filerecorid) X-Ref |
Copy one file from moodle storage to backup storage |