Set options
Parameters: | PatternOptions – |
---|---|
Return type: | OutputCache |
Throws : | ExceptionInvalidArgumentException |
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.
Parameters: | string – Key |
---|---|
Throws ExceptionMissingKeyException: | |
if key is missing | |
Return type: | bool |
Stops buffering output, write buffered data to cache using the given key on start() and displays the buffer.
Return type: | bool TRUE on success, FALSE on failure writing to cache |
---|