Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Handles extraction to file storage. More...
Public Member Functions | |
__construct ($contextid, $component, $filearea, $itemid, $pathbase, $userid) | |
Constructor. More... | |
tgz_directory ($archivepath, $mtime) | |
tgz_end_file ($archivepath, $realpath) | |
tgz_start_file ($archivepath) | |
Handles extraction to file storage.
tgz_packer_extract_to_storage::__construct | ( | $contextid, | |
$component, | |||
$filearea, | |||
$itemid, | |||
$pathbase, | |||
$userid | |||
) |
Constructor.
int | $contextid | Context id for files. |
string | $component | Component name for files. |
string | $filearea | File area for files. |
int | $itemid | Item ID for files. |
string | $pathbase | Base path for files (subfolders will go inside this). |
int | $userid | User id for files or null if none. |
tgz_packer_extract_to_storage::tgz_directory | ( | $archivepath, | |
$mtime | |||
) |
Implements tgz_extractor_handler.
tgz_packer_extract_to_storage::tgz_end_file | ( | $archivepath, | |
$realpath | |||
) |
Implements tgz_extractor_handler.
tgz_packer_extract_to_storage::tgz_start_file | ( | $archivepath | ) |
Implements tgz_extractor_handler.