ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
isDisabled () | |
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) | |
Id is user_id:ref_id, we store ref_if additionally. 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 $a_id) | |
![]() | |
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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning News cache
Definition at line 24 of file class.ilNewsCache.php.
ilNewsCache::__construct | ( | ) |
Definition at line 29 of file class.ilNewsCache.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilCache\setExpiresAfter(), and ILIAS\Repository\settings().
ilNewsCache::isDisabled | ( | ) |
Definition at line 43 of file class.ilNewsCache.php.
Referenced by readEntry(), and storeEntry().
|
protected |
Definition at line 48 of file class.ilNewsCache.php.
References isDisabled().
ilNewsCache::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 |
||
) |
Id is user_id:ref_id, we store ref_if additionally.
Definition at line 59 of file class.ilNewsCache.php.
References isDisabled().
|
static |
Definition at line 27 of file class.ilNewsCache.php.
|
protected |
Definition at line 26 of file class.ilNewsCache.php.