Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Handles extraction to file storage. More...
Public Member Functions | |
__construct ($contextid, $component, $filearea, $itemid, $pathbase, $userid) | |
Constructor. | |
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 ) |
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.