| package |
jelix |
|---|
__construct( $directory)
delete(string $key) : boolean
stringa key (unique name) to identify the cached info
booleanwhether the action was successful or not
flush() : boolean
booleanwhether the action was successful or not
get(string $key) : \mixed,false
stringthe key (unique name) that identify the cached info
\mixed,falsefalse if the cached info does not exist or has expired or the data if the info exists and is valid
set(string $key, mixed $value, integer $ttl) : boolean
stringa key (unique name) to identify the cached info
mixedthe value to cache
integerhow many seconds will the info be cached
booleanwhether the action was successful or not
dir :