Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
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) | |
Protected Attributes | |
string | $component |
Component name for files. | |
int | $contextid |
Context id 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). | |
string | $tempfile |
Path to temp file. | |
int | $userid |
User id for files or null if none. | |
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.