Property | Type | Description | |
---|---|---|---|
$_cache_path | string | Directory in which to save cache files |
Method | Description | |
---|---|---|
__construct ( ) : void | Initialize file-based cache | |
cache_info ( $type = NULL ) : mixed | Cache Info | |
clean ( ) : boolean | Clean the Cache | |
decrement ( string $id, integer $offset = 1 ) : New | Decrement a raw value | |
delete ( $id ) : boolean | Delete from Cache | |
get ( string $id ) : mixed | Fetch from cache | |
get_metadata ( $id ) : mixed | Get Cache Metadata | |
increment ( string $id, integer $offset = 1 ) : New | Increment a raw value | |
is_supported ( ) : boolean | Is supported | |
save ( string $id, mixed $data, integer $ttl = 60, boolean $raw = FALSE ) : boolean | Save into cache |
Method | Description | |
---|---|---|
_get ( string $id ) : mixed | Get all data |
public cache_info ( $type = NULL ) : mixed | ||
return | mixed | FALSE |
public get_metadata ( $id ) : mixed | ||
return | mixed | FALSE on failure, array on success. |
public is_supported ( ) : boolean | ||
return | boolean |
protected string $_cache_path | ||
return | string |