|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (array $options=array()) | |
| start ($id=false, $doNotDie=false) | |
| cancel () | |
| _flush ($data) | |
Public Member Functions inherited from Zend_Cache_Core | |
| __construct ($options=array()) | |
| setConfig (Zend_Config $config) | |
| setBackend (Zend_Cache_Backend $backendObject) | |
| getBackend () | |
| setOption ($name, $value) | |
| getOption ($name) | |
| setLifetime ($newLifetime) | |
| load ($id, $doNotTestCacheValidity=false, $doNotUnserialize=false) | |
| test ($id) | |
| save ($data, $id=null, $tags=array(), $specificLifetime=false, $priority=8) | |
| remove ($id) | |
| clean ($mode='all', $tags=array()) | |
| getIdsMatchingTags ($tags=array()) | |
| getIdsNotMatchingTags ($tags=array()) | |
| getIdsMatchingAnyTags ($tags=array()) | |
| getIds () | |
| getTags () | |
| getFillingPercentage () | |
| getMetadatas ($id) | |
| touch ($id, $extraLifetime) | |
Protected Member Functions | |
| _setDefaultOptions ($options) | |
| _setContentTypeMemorization ($value) | |
| _setRegexps ($regexps) | |
| _makeId () | |
| _makePartialId ($arrayName, $bool1, $bool2) | |
Protected Member Functions inherited from Zend_Cache_Core | |
| _validateIdOrTag ($string) | |
| _validateTagsArray ($tags) | |
| _loggerSanity () | |
| _log ($message, $priority=4) | |
| _id ($id) | |
Protected Attributes | |
| $_specificOptions | |
| $_activeOptions = array() | |
| $_cancel = false | |
Protected Attributes inherited from Zend_Cache_Core | |
| $_backend = null | |
| $_options | |
| $_specificOptions = array() | |
| $_extendedBackend = false | |
| $_backendCapabilities = array() | |
Additional Inherited Members | |
Data Fields inherited from Zend_Cache_Core | |
| const | BACKEND_NOT_SUPPORTS_TAG = 'tags are not supported by the current backend' |
| const | BACKEND_NOT_IMPLEMENTS_EXTENDED_IF = 'Current backend doesn\'t implement the Zend_Cache_Backend_ExtendedInterface, so this method is not available' |
Static Protected Attributes inherited from Zend_Cache_Core | |
| static | $_directivesList = array('lifetime', 'logging', 'logger') |
| __construct | ( | array | $options = array() | ) |
Constructor
| array | $options | Associative array of options |
| boolean | $doNotTestCacheValidity | If set to true, the cache validity won't be tested |
| Zend_Cache_Exception |
Definition at line 130 of file Page.php.
| _flush | ( | $data | ) |
callback for output buffering (shouldn't really be called manually)
| string | $data | Buffered output |
Definition at line 309 of file Page.php.
|
protected |
Make an id depending on REQUEST_URI and superglobal arrays (depending on options)
Definition at line 340 of file Page.php.
|
protected |
Make a partial id depending on options
| string | $arrayName | Superglobal array name |
| bool | $bool1 | If true, cache is still on even if there are some variables in the superglobal array |
| bool | $bool2 | If true, we have to use the content of the superglobal array to make a partial id |
Definition at line 363 of file Page.php.
|
protected |
|
protected |
Specific setter for the 'default_options' option (with some additional tests)
| array | $options | Associative array |
| Zend_Cache_Exception |
Definition at line 163 of file Page.php.
|
protected |
Specific setter for the 'regexps' option (with some additional tests)
| array | $options | Associative array |
| Zend_Cache_Exception |
Definition at line 212 of file Page.php.
| cancel | ( | ) |
Start the cache
| string | $id | (optional) A cache id (if you set a value here, maybe you have to use Output frontend instead) |
| boolean | $doNotDie | For unit testing only ! |
Definition at line 242 of file Page.php.
|
protected |