Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: