PHP Class CI_Cache_dummy, TastyIgniter

Author: EllisLab Dev Team
Inheritance: extends CI_Driver
Afficher le fichier Open project: tastyigniter/tastyigniter

Méthodes publiques

Méthode Description
cache_info ( $type = NULL ) : boolean Cache Info
clean ( ) : boolean Clean the cache
decrement ( string $id, integer $offset = 1 ) : mixed Decrement a raw value
delete ( $id ) : boolean Delete from Cache
get ( $id ) : boolean Get
get_metadata ( $id ) : boolean Get Cache Metadata
increment ( string $id, integer $offset = 1 ) : mixed Increment a raw value
is_supported ( ) : boolean Is this caching driver supported on the system? Of course this one is.
save ( $id, $data, $ttl = 60, $raw = FALSE ) : boolean Cache Save

Method Details

cache_info() public méthode

Cache Info
public cache_info ( $type = NULL ) : boolean
Résultat boolean FALSE

clean() public méthode

Clean the cache
public clean ( ) : boolean
Résultat boolean TRUE, simulating success

decrement() public méthode

Decrement a raw value
public decrement ( string $id, integer $offset = 1 ) : mixed
$id string Cache ID
$offset integer Step/value to reduce by
Résultat mixed New value on success or FALSE on failure

delete() public méthode

Delete from Cache
public delete ( $id ) : boolean
Résultat boolean TRUE, simulating success

get() public méthode

Since this is the dummy class, it's always going to return FALSE.
public get ( $id ) : boolean
Résultat boolean FALSE

get_metadata() public méthode

Get Cache Metadata
public get_metadata ( $id ) : boolean
Résultat boolean FALSE

increment() public méthode

Increment a raw value
public increment ( string $id, integer $offset = 1 ) : mixed
$id string Cache ID
$offset integer Step/value to add
Résultat mixed New value on success or FALSE on failure

is_supported() public méthode

Is this caching driver supported on the system? Of course this one is.
public is_supported ( ) : boolean
Résultat boolean TRUE

save() public méthode

Cache Save
public save ( $id, $data, $ttl = 60, $raw = FALSE ) : boolean
Résultat boolean TRUE, Simulating success