ILIAS
Release_4_0_x_branch Revision 61816
|
Caches (check) access information on list items. More...
Public Member Functions | |
__construct () | |
Constructor. | |
isDisabled () | |
Check if cache is disabled. | |
readEntry ($a_id) | |
Read an entry. | |
storeEntry ($a_id, $a_value, $a_ref_id=0) | |
Id is user_id:ref_id, we store ref_if additionally. | |
deleteByRefId ($a_ref_id) | |
This one can be called, e.g. | |
Public Member Functions inherited from ilCache | |
__construct ($a_component, $a_cache_name, $a_use_long_content=false) | |
Constructor. | |
setComponent ($a_val) | |
Set component. | |
setExpiresAfter ($a_val) | |
Set expires after x seconds. | |
getExpiresAfter () | |
Get expires after x seconds. | |
getEntry ($a_id) | |
Get entry. | |
getLastAccessStatus () | |
Last access. | |
storeEntry ($a_id, $a_value, $a_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null) | |
Store entry. | |
deleteByAdditionalKeys ($a_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null) | |
Delete by additional keys. | |
deleteAllEntries () | |
Delete all entries of cache. | |
deleteEntry ($a_id) | |
Delete entry. |
Static Public Attributes | |
static | $disabled = false |
Additional Inherited Members | |
Protected Member Functions inherited from ilCache | |
getComponent () | |
Get component. | |
setName ($a_val) | |
Set name. | |
getName () | |
Get name. | |
setUseLongContent ($a_val) | |
Set use long content. | |
getUseLongContent () | |
Get use long content. |
Caches (check) access information on list items.
Definition at line 13 of file class.ilListItemAccessCache.php.
ilListItemAccessCache::__construct | ( | ) |
Constructor.
@return |
Definition at line 23 of file class.ilListItemAccessCache.php.
References $ilSetting, and ilCache\setExpiresAfter().
ilListItemAccessCache::deleteByRefId | ( | $a_ref_id | ) |
This one can be called, e.g.
Definition at line 72 of file class.ilListItemAccessCache.php.
References ilCache\deleteByAdditionalKeys().
ilListItemAccessCache::isDisabled | ( | ) |
Check if cache is disabled.
Reimplemented from ilCache.
Definition at line 38 of file class.ilListItemAccessCache.php.
Referenced by readEntry(), and storeEntry().
ilListItemAccessCache::readEntry | ( | $a_id | ) |
Read an entry.
Reimplemented from ilCache.
Definition at line 47 of file class.ilListItemAccessCache.php.
References isDisabled().
ilListItemAccessCache::storeEntry | ( | $a_id, | |
$a_value, | |||
$a_ref_id = 0 |
|||
) |
Id is user_id:ref_id, we store ref_if additionally.
Definition at line 60 of file class.ilListItemAccessCache.php.
References $ilSetting, and isDisabled().
|
static |
Definition at line 15 of file class.ilListItemAccessCache.php.