_init()
call()
delete()
delete_all()
forge()
get()
set()
_init()
call(mixed $identifier, string | array $callback, array $args, int $expiration, array $dependencies) : mixed
mixedThe identifier of the cache, can be anything but empty
stringarrayValid PHP callback
arrayArguments for the above function/method
intCache expiration in seconds
arrayContains the identifiers of caches this one will depend on (not supported by all drivers!)
mixeddelete(mixed $identifier)
Actual operation handled by delete() call on storage driver class
mixedThe identifier of the cache, can be anything but empty
delete_all($section, $driver) : bool
null|string
null|string
boolforge(mixed $identifier, array $config) : \Fuel\Core\Cache_Storage_Driver
mixedThe identifier of the cache, can be anything but empty
arrayEither an array of settings or the storage driver to be used
\Fuel\Core\Cache_Storage_DriverThe new cache objectget(mixed $identifier, bool $use_expiration) : mixed
Actual reading is being done by the _get() method which needs to be extended.
mixedThe identifier of the cache, can be anything but empty
bool
mixedset(mixed $identifier, mixed $contents, bool $expiration, array $dependencies) : \Fuel\Core\Cache_Storage_Driver
Actual writing is being done by the _set() method which needs to be extended.
mixedThe identifier of the cache, can be anything but empty
mixedThe content to be cached
boolThe time in seconds until the cache will expire, =< 0 or null means no expiration
arrayContains the identifiers of caches this one will depend on (not supported by all drivers!)
\Fuel\Core\Cache_Storage_DriverThe new Cache object