|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct ($options=null) | |
| setOptions (array $options) | |
| getAdapter () | |
| getAdapterName () | |
| setAdapter ($adapter) | |
| getAdapterOptions () | |
| setAdapterOptions (array $options) | |
| __call ($method, $options) | |
| filter ($value) | |
Protected Attributes | |
| $_adapter = 'Gz' | |
| $_adapterOptions = array() | |
Definition at line 35 of file Compress.php.
| __construct | ( | $options = null | ) |
Class constructor
| string | array | $options | (Optional) Options to set |
Definition at line 52 of file Compress.php.
| __call | ( | $method, | |
| $options | |||
| ) |
Calls adapter methods
| string | $method | Method to call |
| string | array | $options | Options for this method |
Definition at line 174 of file Compress.php.
| filter | ( | $value | ) |
Defined by Zend_Filter_Interface
Compresses the content $value with the defined settings
| string | $value | Content to compress |
Implements Zend_Filter_Interface.
Definition at line 193 of file Compress.php.
| getAdapter | ( | ) |
Returns the current adapter, instantiating it if necessary
Definition at line 91 of file Compress.php.
| getAdapterName | ( | ) |
| getAdapterOptions | ( | ) |
| setAdapter | ( | $adapter | ) |
Sets compression adapter
| string | Zend_Filter_Compress_CompressInterface | $adapter | Adapter to use |
Definition at line 131 of file Compress.php.
| setAdapterOptions | ( | array | $options | ) |
Set adapter options
| array | $options |
Definition at line 162 of file Compress.php.
| setOptions | ( | array | $options | ) |
Set filter setate
| array | $options |
Definition at line 72 of file Compress.php.
|
protected |
Compression adapter
Definition at line 40 of file Compress.php.
|
protected |
Compression adapter constructor options
Definition at line 45 of file Compress.php.