ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Caches (check) access information on list items. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
isDisabled () | |
Check if cache is disabled. More... | |
readEntry ($a_id) | |
Read an entry. More... | |
storeEntry ( $a_id, $a_value, $a_ref_id=0, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null) | |
Id is user_id:ref_id, we store ref_if additionally. More... | |
deleteByRefId ($a_ref_id) | |
This one can be called, e.g. More... | |
![]() | |
__construct ($a_component, $a_cache_name, $a_use_long_content=false) | |
Constructor. More... | |
isDisabled () | |
Check if cache is disabled Forced if member view is active. More... | |
setComponent ($a_val) | |
Set component. More... | |
setExpiresAfter ($a_val) | |
Set expires after x seconds. More... | |
getExpiresAfter () | |
Get expires after x seconds. More... | |
getEntry ($a_id) | |
Get entry. More... | |
getLastAccessStatus () | |
Last access. More... | |
storeEntry ( $a_id, $a_value, $a_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null) | |
Store entry. More... | |
deleteByAdditionalKeys ( $a_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null) | |
Delete by additional keys. More... | |
deleteAllEntries () | |
Delete all entries of cache. More... | |
deleteEntry ($a_id) | |
Delete entry. More... | |
Static Public Attributes | |
static | $disabled = false |
Protected Attributes | |
$settings | |
Additional Inherited Members | |
![]() | |
getComponent () | |
Get component. More... | |
setName ($a_val) | |
Set name. More... | |
getName () | |
Get name. More... | |
setUseLongContent ($a_val) | |
Set use long content. More... | |
getUseLongContent () | |
Get use long content. More... | |
readEntry ($a_id) | |
Read entry. More... | |
Caches (check) access information on list items.
Definition at line 13 of file class.ilListItemAccessCache.php.
ilListItemAccessCache::__construct | ( | ) |
Constructor.
Definition at line 28 of file class.ilListItemAccessCache.php.
References $DIC, $ilSetting, ilCache\setExpiresAfter(), and settings().
ilListItemAccessCache::deleteByRefId | ( | $a_ref_id | ) |
This one can be called, e.g.
Definition at line 84 of file class.ilListItemAccessCache.php.
ilListItemAccessCache::isDisabled | ( | ) |
Check if cache is disabled.
Definition at line 47 of file class.ilListItemAccessCache.php.
Referenced by readEntry(), and storeEntry().
ilListItemAccessCache::readEntry | ( | $a_id | ) |
Read an entry.
Definition at line 56 of file class.ilListItemAccessCache.php.
References isDisabled().
ilListItemAccessCache::storeEntry | ( | $a_id, | |
$a_value, | |||
$a_ref_id = 0 , |
|||
$a_int_key2 = null , |
|||
$a_text_key1 = null , |
|||
$a_text_key2 = null |
|||
) |
Id is user_id:ref_id, we store ref_if additionally.
Definition at line 68 of file class.ilListItemAccessCache.php.
References isDisabled().
|
static |
Definition at line 20 of file class.ilListItemAccessCache.php.
|
protected |
Definition at line 18 of file class.ilListItemAccessCache.php.