Zend Framework
3.0
|
Public Member Functions | |
setOptions (PatternOptions $options) | |
Set options. | |
start ($key) | |
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. | |
end () | |
Stops buffering output, write buffered data to cache using the given key on start() and displays the buffer. | |
Public Member Functions inherited from AbstractPattern | |
setOptions (PatternOptions $options) | |
Set pattern options. | |
getOptions () | |
Get all pattern options. | |
Protected Attributes | |
$keyStack = [] | |
Protected Attributes inherited from AbstractPattern | |
$options | |
end | ( | ) |
Stops buffering output, write buffered data to cache using the given key on start() and displays the buffer.
Exception\RuntimeException | if output cache not started or buffering not active |
setOptions | ( | PatternOptions | $options | ) |
Set options.
PatternOptions | $options |
Exception\InvalidArgumentException |
Implements PatternInterface.
start | ( | $key | ) |
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.
string | $key | Key |
Exception\MissingKeyException | if key is missing |
|
protected |