|
ILIAS
Release_3_10_x_branch Revision 61812
|
Collaboration diagram for ilCache:Public Member Functions | |
| __construct ($a_module="common") | |
| Initialise Cache. | |
| getValue ($a_keyword) | |
| get cached value | |
| getValueForModule ($a_module, $a_keyword) | |
| get cached value | |
| deleteAll ($a_module="") | |
| Delete all cached values of a current module. | |
| deleteValue ($a_keyword) | |
| Delete a single value from the data cache public. | |
| setValue ($a_key, $a_val) | |
| Write a cached value. | |
Private Attributes | |
| $module = "" | |
ILIAS Cache Class.
Definition at line 31 of file class.ilCache.php.
| ilCache::__construct | ( | $a_module = "common" | ) |
Initialise Cache.
Definition at line 38 of file class.ilCache.php.
| ilCache::deleteAll | ( | $a_module = "" | ) |
Delete all cached values of a current module.
| string | $a_module | A module or if empty, the current module public |
Definition at line 109 of file class.ilCache.php.
References $module.
| ilCache::deleteValue | ( | $a_keyword | ) |
Delete a single value from the data cache public.
| string | keyword |
Definition at line 125 of file class.ilCache.php.
| ilCache::getValue | ( | $a_keyword | ) |
get cached value
public
| string | keyword |
Definition at line 53 of file class.ilCache.php.
References $res, and DB_FETCHMODE_ASSOC.
| ilCache::getValueForModule | ( | $a_module, | |
| $a_keyword | |||
| ) |
get cached value
public
| string | module |
| string | keyword |
Definition at line 82 of file class.ilCache.php.
References $res, and DB_FETCHMODE_ASSOC.
| ilCache::setValue | ( | $a_key, | |
| $a_val | |||
| ) |
Write a cached value.
public
| string | $a_key | keyword |
| string | $a_val | value |
Definition at line 143 of file class.ilCache.php.
References $ilLog.
|
private |
Definition at line 33 of file class.ilCache.php.
Referenced by deleteAll().