Methods
Calls adapter methods
__call(string $method, string | array $options) : mixed
Inherited
inherited_from |
\Zend\Filter\Compress::__call() |
Parameters
$method
string
Method to call
$options
stringarray
Options for this method
Exceptions
Returns
mixed
Class constructor
__construct(string | array | \Traversable $options)
Inherited
inherited_from |
\Zend\Filter\Compress::__construct() |
Parameters
$options
stringarray\Traversable
(Optional) Options to set
Use filter as functor
__invoke(string $value) : string
Decompresses the content $value with the defined settings
Parameters
$value
string
Content to decompress
Exceptions
Returns
string
The decompressed content
Defined by FilterInterface
filter(string $value) : string
Decompresses the content $value with the defined settings
Parameters
$value
string
Content to decompress
Exceptions
Returns
string
The decompressed content
Retrieve adapter name
getAdapterName() : string
Inherited
inherited_from |
\Zend\Filter\Compress::getAdapterName() |
Returns
string
Retrieve adapter options
getAdapterOptions() : array
Inherited
inherited_from |
\Zend\Filter\Compress::getAdapterOptions() |
Returns
array
Get individual or all options from underlying adapter
getOptions(null | string $option) : mixed
Inherited
inherited_from |
\Zend\Filter\Compress::getOptions() |
Parameters
$option
nullstring
Returns
mixed
hasPcreUnicodeSupport()
hasPcreUnicodeSupport() : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
inherited_from |
\Zend\Filter\Compress::hasPcreUnicodeSupport() |
Returns
bool
Set adapter options
setAdapterOptions(array $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\Compress::setAdapterOptions() |
Parameters
$options
array
Returns
\Zend\Filter\self
Set filter setate
setOptions(array $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\Compress::setOptions() |
Parameters
$options
array
Exceptions
Returns
\Zend\Filter\self
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
inherited_from |
\Zend\Filter\Compress::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
Compression adapter
$adapter
Inherited
inherited_from |
\Zend\Filter\Compress::$$adapter |
Compression adapter constructor options
$adapterOptions
Inherited
inherited_from |
\Zend\Filter\Compress::$$adapterOptions |
Filter options
$options : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::$$options |
inherited_from |
\Zend\Filter\Compress::$$options |