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.
Compresses a given string
$_adapter = 'Gz'
Compression adapter
$_adapterOptions = 'array'
Compression adapter constructor options
__call(
string $method, string|array $options
)
:
Calls adapter methods
__construct(
string|array $options
=
null
)
:
Class constructor
filter(
string $value
)
:
string
Defined by Zend_Filter_Interface
Compresses the content $value with the defined settings
getAdapter(
)
:
string
Returns the current adapter, instantiating it if necessary
getAdapterName(
)
:
string
Retrieve adapter name
getAdapterOptions(
)
:
array
Retrieve adapter options
setAdapter(
string|Zend_Filter_Compress_CompressInterface $adapter
)
:
Zend_Filter_Compress
Sets compression adapter
setAdapterOptions(
array $options
)
:
void
Set adapter options
setOptions(
array $options
)
:
Zend_Filter_Compress
Set filter setate