Final class for cache
Definition at line 10 of file cache.class.php.
◆ __construct()
◆ getInstance()
static getInstance |
( |
array |
$cfg = array() | ) |
|
|
static |
Get the unique cache instance
- Parameters
-
array | $cfg | Config for the cache instance |
- Returns
- cache_abstract The instance
Definition at line 30 of file cache.class.php.
◆ idRequest()
static idRequest |
( |
array |
$prm = array() | ) |
|
|
static |
Create an id depending on the request and options get, post, session or cookie
- Parameters
-
array | $prm | Configuration array with keys:
- boolean uri Indicate if the uri should be used (default true)
- array meth Which method used for creating the id (default array('get','post','session'))
|
- Returns
- string The id
Definition at line 45 of file cache.class.php.
◆ $cfg
The documentation for this class was generated from the following file: