Decompresses a given string

category Zend
package Zend_Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Filter_Compress

 Methods

Calls adapter methods

__call(string $method, string|array $options) 
Inherited

Parameters

$method

string

Method to call

$options

stringarray

Options for this method

Class constructor

__construct(string|array $options = null
Inherited

Parameters

$options

stringarray

(Optional) Options to set

Defined by Zend_Filter_Interface

filter(string $value) : string

Decompresses the content $value with the defined settings

inherited_from \Zend_Filter_Compress::filter()

Parameters

$value

string

Content to decompress

Returns

stringThe decompressed content

Defined by Zend_Filter_Interface

filter(string $value) : string
Inherited

Compresses the content $value with the defined settings

inherited_from \Zend_Filter_Interface::filter()

Parameters

$value

string

Content to compress

Returns

stringThe compressed content

Returns the current adapter, instantiating it if necessary

getAdapter() : string
Inherited

Returns

string

Retrieve adapter name

getAdapterName() : string
Inherited

Returns

string

Retrieve adapter options

getAdapterOptions() : array
Inherited

Returns

array

Sets compression adapter

setAdapter(string|\Zend_Filter_Compress_CompressInterface $adapter) : \Zend_Filter_Compress
Inherited

Parameters

$adapter

string\Zend_Filter_Compress_CompressInterface

Adapter to use

Returns

\Zend_Filter_Compress

Set adapter options

setAdapterOptions(array $options) : void
Inherited

Parameters

$options

array

Set filter setate

setOptions(array $options) : \Zend_Filter_Compress
Inherited

Parameters

$options

array

Returns

\Zend_Filter_Compress

 Properties

 

Compression adapter

$_adapter 

Default

'Gz'
 

Compression adapter constructor options

$_adapterOptions 

Default

array()