Property | Type | Description | |
---|---|---|---|
$dsn | |||
$prefix | |||
$ref |
Method | Description | |
---|---|---|
__construct ( $dsn = FALSE ) : object | Class constructor | |
clear ( $key ) : boolean | Delete cache entry | |
exists ( $key, &$val = NULL ) : array | FALSE | Return timestamp and TTL of cache entry or FALSE if not found | |
get ( $key ) : mixed | FALSE | Retrieve value of cache entry | |
load ( $dsn ) : string | Load/auto-detect cache backend | |
reset ( $suffix = NULL, $lifetime ) : boolean | Clear contents of cache backend | |
set ( $key, $val, $ttl ) : mixed | FALSE | Store value in cache |
public __construct ( $dsn = FALSE ) : object | ||
$dsn | bool|string | |
return | object |