Метод |
Описание |
|
__construct ( Archive $archive ) : Zip |
Method to instantiate an archive adapter object |
|
addDir ( array $branch, string $level = null, string $orig = null ) : void |
Method to create sub directories within the zip archive |
|
addFiles ( string | array $files ) : void |
Method to create an archive file |
|
archive ( ) : mixed |
Method to return the archive object |
|
extract ( string $to = null ) : void |
Method to extract an archived and/or compressed file |
|
getDirs ( ) : array |
Method to return an array of all the directories in the archive |
|
listFiles ( boolean $full = false ) : array |
Method to return a listing of the contents of an archived file |
|