Property | Type | Description | |
---|---|---|---|
$_config | array | Memcached configuration | |
$_memcached | object | Holds the memcached object |
Method | Description | |
---|---|---|
__construct ( ) : void | Class constructor | |
__destruct ( ) : void | Class destructor | |
cache_info ( ) : mixed | Cache Info | |
clean ( ) : boolean | Clean the Cache | |
decrement ( string $id, integer $offset = 1 ) : mixed | Decrement a raw value | |
delete ( mixed $id ) : boolean | Delete from Cache | |
get ( string $id ) : mixed | Fetch from cache | |
get_metadata ( mixed $id ) : mixed | Get Cache Metadata | |
increment ( string $id, integer $offset = 1 ) : mixed | Increment a raw value | |
is_supported ( ) : boolean | Is supported | |
save ( string $id, mixed $data, integer $ttl = 60, boolean $raw = FALSE ) : boolean | Save |
public __destruct ( ) : void | ||
return | void |
public cache_info ( ) : mixed | ||
return | mixed | array on success, false on failure |
public get_metadata ( mixed $id ) : mixed | ||
$id | mixed | key to get cache metadata on |
return | mixed | FALSE on failure, array on success. |
public is_supported ( ) : boolean | ||
return | boolean |
protected object $_memcached | ||
return | object |