Methods

Stops buffering output, write buffered data to cache using the given key on start() and displays the buffer.

end() : bool

Exceptions

\Zend\Cache\Exception\RuntimeException if output cache not started or buffering not active

Returns

boolTRUE on success, FALSE on failure writing to cache

Get all pattern options

getOptions() : \Zend\Cache\Pattern\PatternOptions
Inherited

inherited_from \Zend\Cache\Pattern\AbstractPattern::getOptions()

Returns

Set options

setOptions(\Zend\Cache\Pattern\PatternOptions $options) : \Zend\Cache\Pattern\OutputCache

if there is a cached item with the given key display it's data and return true else start buffering output until end() is called or the script ends.

start(string $key) : bool

Parameters

$key

string

Key

Exceptions

\Zend\Cache\Exception\MissingKeyException if key is missing

Returns

bool

 Properties

 

The key stack

$keyStack : array

 

$options

$options : \Zend\Cache\Pattern\PatternOptions
Inherited

inherited_from \Zend\Cache\Pattern\AbstractPattern::$$options