Class Archive
abstract public
|
#
setCompression( integer $level = 9, integer $type = Archive::COMPRESS_AUTO )
Set the compression level and type |
abstract public
|
|
abstract public
|
|
abstract public
array
|
|
abstract public
|
|
abstract public
|
#
addFile( string $file, string|
Add a file to the current archive using an existing file in the filesystem |
abstract public
|
#
addData( string|
Add a file to the current archive using the given $data as content |
abstract public
|
|
abstract public
|
|
abstract public
|
|
public
|
#
setCallback( callable $callback )
Set a callback function to be called whenever a file is added or extracted. |
integer |
COMPRESS_AUTO
|
#
-1
|
integer |
COMPRESS_NONE
|
#
0
|
integer |
COMPRESS_GZIP
|
#
1
|
integer |
COMPRESS_BZIP
|
#
2
|
protected
callable
|
$callback
|