This class contains functions for the file cache in CONTENIDO.
| package | Core |
|---|---|
| subpackage | Cache |
__construct(array $options) : void
arrayarray with options for the cache (optional, default: empty array)
generateFileName(string $id, string $group) : string
stringcache ID
stringcache group
stringfilenamegenerateID($variables) : string
stringgenerated IDget(string $id, string $group) : bool | string
If not cached, false is returned.
stringcache ID
stringcache group
boolstringcontent or falsegetDestination(string $id, string $group) : string
stringcache ID
stringcache group
stringfull filenameremove(string $id, string $group) : bool
stringcache ID
stringcache group
boolsuccess statesave(string $data, string $id, string $group) : bool
stringdata to save
stringcache ID
stringcache group
boolsuccess statesetOptions(array $options) : void
Validates incoming options and sets the default of the missing options.
arrayarray with option
_validateDirectory() : void
\cInvalidArgumentException |
|---|