|
| start ($id, array $tags, $extension=null) |
|
| _flush ($data) |
|
| __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) |
|
Definition at line 36 of file Capture.php.
◆ _flush()
callback for output buffering (shouldn't really be called manually)
- Parameters
-
string | $data | Buffered output |
- Returns
- string Data to send to browser
Definition at line 75 of file Capture.php.
77 $id = array_pop($this->_idStack);
81 if ($this->_extension) {
82 $this->
save(serialize(array(
$data, $this->_extension)),
$id, $this->_tags);
save($data, $id=null, $tags=array(), $specificLifetime=false, $priority=8)
static throwException($msg, Exception $e=null)
◆ start()
start |
( |
|
$id, |
|
|
array |
$tags, |
|
|
|
$extension = null |
|
) |
| |
Start the cache
- Parameters
-
- Returns
- mixed True if the cache is hit (false else) with $echoData=true (default) ; string else (datas)
Definition at line 58 of file Capture.php.
62 ob_start(array($this,
'_flush'));
63 ob_implicit_flush(
false);
64 $this->_idStack[] =
$id;
◆ $_extension
◆ $_idStack
◆ $_tags
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Cache/Frontend/Capture.php