|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
News cache. More...
Inheritance diagram for ilNewsCache:
Collaboration diagram for ilNewsCache: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_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null) | |
| Id is user_id:ref_id, we store ref_if additionally. More... | |
Public Member Functions inherited from ilCache | |
| __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 | |
Protected Member Functions inherited from ilCache | |
| 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... | |
| ilNewsCache::__construct | ( | ) |
Constructor.
return
Definition at line 28 of file class.ilNewsCache.php.
References $DIC, $ilSetting, ilCache\setExpiresAfter(), and settings().
Here is the call graph for this function:| ilNewsCache::isDisabled | ( | ) |
Check if cache is disabled.
Reimplemented from ilCache.
Definition at line 49 of file class.ilNewsCache.php.
Referenced by readEntry(), and storeEntry().
Here is the caller graph for this function:| ilNewsCache::readEntry | ( | $a_id | ) |
Read an entry.
Reimplemented from ilCache.
Definition at line 58 of file class.ilNewsCache.php.
References isDisabled().
Here is the call graph for this function:| ilNewsCache::storeEntry | ( | $a_id, | |
| $a_value, | |||
$a_int_key1 = null, |
|||
$a_int_key2 = null, |
|||
$a_text_key1 = null, |
|||
$a_text_key2 = null |
|||
| ) |
Id is user_id:ref_id, we store ref_if additionally.
Reimplemented from ilCache.
Definition at line 70 of file class.ilNewsCache.php.
References $ilSetting, $settings, and isDisabled().
Here is the call graph for this function:
|
static |
Definition at line 20 of file class.ilNewsCache.php.
|
protected |
Definition at line 18 of file class.ilNewsCache.php.
Referenced by storeEntry().