package Default
inherited_from \Zend\Cache\Pattern\AbstractPattern

 Methods

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

end() : boolean

Exceptions

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

Returns

booleanTRUE on success, FALSE on failure writing to cache

Get all pattern options

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

Returns

\Zend\Cache\Pattern\PatternOptions

Set options

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

Parameters

$options

\Zend\Cache\Pattern\PatternOptions

Exceptions

\Zend\Cache\Exception\InvalidArgumentException

Returns

\Zend\Cache\Pattern\OutputCache

Set pattern options

setOptions(\Zend\Cache\Pattern\PatternOptions $options) : \Zend\Cache\Pattern\AbstractPattern
Inherited
inherited_from \Zend\Cache\Pattern\PatternInterface::setOptions()

Parameters

$options

\Zend\Cache\Pattern\PatternOptions

Exceptions

\Zend\Cache\Exception\InvalidArgumentException

Returns

\Zend\Cache\Pattern\AbstractPattern

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) : boolean

Parameters

$key

string

Key

Exceptions

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

Returns

boolean

 Properties

 

The key stack

$keyStack : array

Default

array()
 

$options

$options : \Zend\Cache\Pattern\PatternOptions

Default