Cache_Lite::remove (Previous) (Next) Cache_Lite::setToDebug

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Cache_Lite::clean()

Cache_Lite::clean() -- Clean the cache

Descripción

if no group is specified all cache files will be destroyed ; else only cache files of the specified group will be destroyed

Parámetro

string $group

name of the cache group

string $mode

flush cache mode : 'old' (clean too old cache files for the current lifetime), 'ingroup' (clean all cache files for the given group), 'notingroup' (clean all the cache files except for the given group), [since 1.5.0 beta] 'callback_myFunc' (call the function 'myFunc' with the complete path file and the group in parameters, if the callback return 'true', the cache file is deleted).

Valor devuelto

returns true if no problem

Nota

Esta función no puede ser llamada estáticamente.

Cache_Lite::remove (Previous) (Next) Cache_Lite::setToDebug

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.