|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Handles extraction to pathname. More...
Public Member Functions | |
| __construct ($pathname, ?array $onlyfiles=null) | |
| Constructor. | |
| tgz_directory ($archivepath, $mtime) | |
| tgz_end_file ($archivepath, $realpath) | |
| tgz_start_file ($archivepath) | |
Protected Attributes | |
| array | $onlyfiles |
| Array of files to extract (other files are skipped). | |
| string | $pathname |
| Target directory for extract. | |
Handles extraction to pathname.
| tgz_packer_extract_to_pathname::__construct | ( | $pathname, | |
| ?array | $onlyfiles = null ) |
Constructor.
| string | $pathname | target directory |
| array | $onlyfiles | only extract files present in the array |
| tgz_packer_extract_to_pathname::tgz_directory | ( | $archivepath, | |
| $mtime ) |
Implements tgz_extractor_handler.
| tgz_packer_extract_to_pathname::tgz_end_file | ( | $archivepath, | |
| $realpath ) |
Implements tgz_extractor_handler.
| tgz_packer_extract_to_pathname::tgz_start_file | ( | $archivepath | ) |
Implements tgz_extractor_handler.