ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Caches (check) access information on list items. More...
Public Member Functions | |
__construct () | |
isDisabled () | |
Check if cache is disabled. More... | |
storeEntry (string $id, string $value, ?int $int_key1=null, ?int $int_key2=null, ?string $text_key1=null, ?string $text_key2=null) | |
Id is user_id:ref_id, we store ref_if additionally. More... | |
deleteByRefId (int $ref_id) | |
This one can be called, e.g. More... | |
![]() | |
__construct (string $a_component, string $a_cache_name, bool $a_use_long_content=false) | |
isDisabled () | |
Check if cache is disabled Forced if member view is active. More... | |
setComponent (string $a_val) | |
setExpiresAfter (int $a_val) | |
Set expires after x seconds. More... | |
getExpiresAfter () | |
getEntry (string $a_id) | |
getLastAccessStatus () | |
storeEntry (string $a_id, string $a_value, ?int $a_int_key1=null, ?int $a_int_key2=null, ?string $a_text_key1=null, ?string $a_text_key2=null) | |
deleteByAdditionalKeys (?int $a_int_key1=null, ?int $a_int_key2=null, ?string $a_text_key1=null, ?string $a_text_key2=null) | |
deleteAllEntries () | |
deleteEntry (string $a_id) | |
Static Public Attributes | |
static bool | $disabled = false |
Protected Member Functions | |
readEntry (string $id) | |
Read an entry. More... | |
![]() | |
getComponent () | |
setName (string $a_val) | |
getName () | |
setUseLongContent (bool $a_val) | |
getUseLongContent () | |
readEntry (string $a_id) | |
Protected Attributes | |
ilSetting | $settings |
![]() | |
string | $entry |
string | $last_access |
int | $expires_after |
bool | $use_long_content |
string | $name |
string | $component |
Caches (check) access information on list items.
Definition at line 26 of file class.ilListItemAccessCache.php.
ilListItemAccessCache::__construct | ( | ) |
Definition at line 32 of file class.ilListItemAccessCache.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilCache\setExpiresAfter(), and ILIAS\Repository\settings().
ilListItemAccessCache::deleteByRefId | ( | int | $ref_id | ) |
ilListItemAccessCache::isDisabled | ( | ) |
Check if cache is disabled.
Definition at line 45 of file class.ilListItemAccessCache.php.
Referenced by readEntry(), and storeEntry().
|
protected |
Read an entry.
Definition at line 53 of file class.ilListItemAccessCache.php.
References isDisabled().
ilListItemAccessCache::storeEntry | ( | string | $id, |
string | $value, | ||
?int | $int_key1 = null , |
||
?int | $int_key2 = null , |
||
?string | $text_key1 = null , |
||
?string | $text_key2 = null |
||
) |
Id is user_id:ref_id, we store ref_if additionally.
Definition at line 65 of file class.ilListItemAccessCache.php.
References isDisabled().
|
static |
Definition at line 28 of file class.ilListItemAccessCache.php.
|
protected |
Definition at line 30 of file class.ilListItemAccessCache.php.