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.
Decompresses a given string

__call(
string $method, string|array $options
)
:
void
Calls adapter methods
Inherited from: \Zend_Filter_Compress::__call()Name | Type | Description |
---|---|---|
$method | string | Method to call |
$options | string|array | Options for this method |

__construct(
string|array $options
=
null
)
:
void
Class constructor
Inherited from: \Zend_Filter_Compress::__construct()Name | Type | Description |
---|---|---|
$options | string|array | (Optional) Options to set |

filter(
string $value
)
:
string
Defined by Zend_Filter_Interface
Decompresses the content $value with the defined settings
Name | Type | Description |
---|---|---|
$value | string | Content to decompress |
Type | Description |
---|---|
string | The decompressed content |
Exception | Description |
---|---|
\Zend_Filter_Exception | If filtering $value is impossible |

getAdapter(
)
:
string
Returns the current adapter, instantiating it if necessary
Inherited from: \Zend_Filter_Compress::getAdapter()Type | Description |
---|---|
string |

getAdapterName(
)
:
string
Retrieve adapter name
Inherited from: \Zend_Filter_Compress::getAdapterName()Type | Description |
---|---|
string |

getAdapterOptions(
)
:
array
Retrieve adapter options
Inherited from: \Zend_Filter_Compress::getAdapterOptions()Type | Description |
---|---|
array |

setAdapter(
string|\Zend_Filter_Compress_CompressInterface $adapter
)
:
\Zend_Filter_Compress
Sets compression adapter
Inherited from: \Zend_Filter_Compress::setAdapter()Name | Type | Description |
---|---|---|
$adapter | string|\Zend_Filter_Compress_CompressInterface | Adapter to use |
Type | Description |
---|---|
\Zend_Filter_Compress |

setAdapterOptions(
array $options
)
:
void
Set adapter options
Inherited from: \Zend_Filter_Compress::setAdapterOptions()Name | Type | Description |
---|---|---|
$options | array |

setOptions(
array $options
)
:
\Zend_Filter_Compress
Set filter setate
Inherited from: \Zend_Filter_Compress::setOptions()