Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Compression adapter for zip
array $_options = 'array'
Compression Options array( 'archive' => Archive to use 'password' => Password to use 'target' => Target to write the files to )
__construct(
string|array $options
=
null
)
:
Class constructor
_errorString(
string $error
)
:
Returns the proper string based on the given error constant
compress(
string $content
)
:
string
Compresses the given content
decompress(
string $content
)
:
string
Decompresses the given content
getArchive(
)
:
string
Returns the set archive
getTarget(
)
:
string
Returns the set targetpath
setArchive(
string $archive
)
:
Zend_Filter_Compress_Rar
Sets the archive to use for de-/compression
setTarget(
string $target
)
:
Zend_Filter_Compress_Rar
Sets the target to use
toString(
)
:
string
Returns the adapter name