PHP Class Elgg\Cache\NullCache

This will eventually be replaced by something like Elgg\Cache\NullPool.
Inheritance: extends ElggSharedMemoryCache
Afficher le fichier Open project: elgg/elgg

Méthodes publiques

Méthode Description
clear ( ) : true Clears the entire cache (does not work)
delete ( string $key ) : boolean Delete data
load ( string $key, integer $offset, integer $limit = null ) : mixed Retrieves data.
save ( string $key, string $data, integer $ttl = null ) : boolean Saves a name and value to the cache

Method Details

clear() public méthode

Clears the entire cache (does not work)
public clear ( ) : true
Résultat true

delete() public méthode

Delete data
public delete ( string $key ) : boolean
$key string Unused
Résultat boolean

load() public méthode

Retrieves data.
public load ( string $key, integer $offset, integer $limit = null ) : mixed
$key string Unused
$offset integer Unused
$limit integer Unused
Résultat mixed

save() public méthode

Saves a name and value to the cache
public save ( string $key, string $data, integer $ttl = null ) : boolean
$key string Unused
$data string Unused
$ttl integer Unused
Résultat boolean