Cache_Lite_Output::start()

Cache_Lite_Output::start() -- Test if a cache is available and (if yes) return it to the browser. Else, the output buffering is activated.

Synopsis

require_once 'LiteOutput.php';

boolean Cache_Lite_Output::start (string $id [, string $group = 'default'])

Description

Test if a cache is available and (if yes) return it to the browser. Else, the output buffering is activated.

Parameter

string $id

cache id

string $group

name of the cache group

Return value

returns true if the cache is hit (false else)

Note

This function can not be called statically.

Example