메소드 |
설명 |
|
__construct ( string $archive, string $password = null, string $prefix = 'Pop\Archive\Adapter\' ) : Archive |
Constructor |
|
adapter ( ) : mixed |
Method to return the adapter object |
|
addFiles ( string | array $files ) : Archive |
Method to create an archive file |
|
archive ( ) : mixed |
Method to return the archive object within the adapter object |
|
compress ( string $ext = 'gz' ) : Archive |
Method to compress an archive file with Gzip or Bzip2 |
|
extract ( string $to = null ) : Archive |
Method to extract an archived and/or compressed file |
|
factory ( string $archive, string $password = null ) : Archive |
Static method to instantiate the archive object and return itself
to facilitate chaining methods together. |
|
formats ( ) : array |
Get formats |
|
listFiles ( boolean $full = false ) : array |
Method to return a listing of the contents of an archived file |
|