Compresses a given string
Class constructor
Parameters: | string|array|Traversable – (Optional) Options to set |
---|
Set filter setate
Parameters: | array – |
---|---|
Throws ExceptionInvalidArgumentException: | |
if options is not an array or Traversable | |
Return type: | Compress |
Returns the current adapter, instantiating it if necessary
Return type: | CompressCompressionAlgorithmInterface |
---|
Sets compression adapter
Parameters: | string|CompressCompressionAlgorithmInterface – Adapter to use |
---|---|
Return type: | Compress |
Throws : | ExceptionInvalidArgumentException |
Set adapter options
Parameters: | array – |
---|---|
Return type: | Compress |
Get individual or all options from underlying adapter
Parameters: | null|string – |
---|---|
Return type: | mixed |
Calls adapter methods
Parameters: |
|
---|---|
Return type: | mixed |
Throws : | ExceptionBadMethodCallException |
Defined by Zend_Filter_Filter
Compresses the content $value with the defined settings
Parameters: | string – Content to compress |
---|---|
Return type: | string The compressed content |