1387. Class

1387.1. Zend\Cache\Pattern\OutputCache

1387.1.1. Methods

1387.1.1.1. setOptions

setOptions()

Set options

Parameters:PatternOptions
Return type:OutputCache
Throws :ExceptionInvalidArgumentException

1387.1.1.2. start

start()

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

1387.1.1.3. end

end()

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

Project Versions

Table Of Contents

Previous topic

1386. Class

Next topic

1388. Function

This Page