Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
tgz_packer_extract_to_pathname Class Reference

Handles extraction to pathname. More...

Inheritance diagram for tgz_packer_extract_to_pathname:
tgz_extractor_handler

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.
 

Detailed Description

Handles extraction to pathname.

Constructor & Destructor Documentation

◆ __construct()

tgz_packer_extract_to_pathname::__construct ( $pathname,
array $onlyfiles = null )

Constructor.

Parameters
string$pathnametarget directory
array$onlyfilesonly extract files present in the array

Member Function Documentation

◆ tgz_directory()

tgz_packer_extract_to_pathname::tgz_directory ( $archivepath,
$mtime )

◆ tgz_end_file()

tgz_packer_extract_to_pathname::tgz_end_file ( $archivepath,
$realpath )

◆ tgz_start_file()

tgz_packer_extract_to_pathname::tgz_start_file ( $archivepath)

The documentation for this class was generated from the following file: