ILIAS
Release_4_2_x_branch Revision 61807
|
News cache. More...
Public Member Functions | |
__construct () | |
Constructor. | |
isDisabled () | |
Check if cache is disabled. | |
readEntry ($a_id) | |
Read an entry. | |
storeEntry ($a_id, $a_value) | |
Id is user_id:ref_id, we store ref_if additionally. | |
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. |
ilNewsCache::__construct | ( | ) |
Constructor.
@return |
Definition at line 23 of file class.ilNewsCache.php.
References $ilSetting, and ilCache\setExpiresAfter().
ilNewsCache::isDisabled | ( | ) |
Check if cache is disabled.
Reimplemented from ilCache.
Definition at line 42 of file class.ilNewsCache.php.
Referenced by readEntry(), and storeEntry().
ilNewsCache::readEntry | ( | $a_id | ) |
Read an entry.
Reimplemented from ilCache.
Definition at line 51 of file class.ilNewsCache.php.
References isDisabled().
ilNewsCache::storeEntry | ( | $a_id, | |
$a_value | |||
) |
Id is user_id:ref_id, we store ref_if additionally.
Definition at line 64 of file class.ilNewsCache.php.
References $ilSetting, and isDisabled().
|
static |
Definition at line 15 of file class.ilNewsCache.php.