Public Member Functions | |
__construct (array $options=array()) | |
start ($id, $doNotTestCacheValidity=false, $echoData=true) | |
end ($tags=array(), $specificLifetime=false, $forcedDatas=null, $echoData=true, $priority=8) |
Definition at line 36 of file Output.php.
__construct | ( | array $ | options = array() ) |
Constructor
array | $options | Associative array of options |
Definition at line 47 of file Output.php.
end | ( | $ | tags = array() , |
$ | specificLifetime = false , |
||
$ | forcedDatas = null , |
||
$ | echoData = true , |
||
$ | priority = 8 |
||
) |
Stop the cache
array | $tags | Tags array |
int | $specificLifetime | If != false, set a specific lifetime for this cache record (null => infinite lifetime) |
string | $forcedDatas | If not null, force written datas with this |
boolean | $echoData | If set to true, datas are sent to the browser |
int | $priority | integer between 0 (very low priority) and 10 (maximum priority) used by some particular backends |
Definition at line 88 of file Output.php.
start | ( | $ | id, |
$ | doNotTestCacheValidity = false , |
||
$ | echoData = true |
||
) |
Start the cache
string | $id | Cache id |
boolean | $doNotTestCacheValidity | If set to true, the cache validity won't be tested |
boolean | $echoData | If set to true, datas are sent to the browser if the cache is hit (simpy returned else) |
Definition at line 61 of file Output.php.