ILIAS
Release_5_0_x_branch Revision 61816
|
Example cache class. More...
Public Member Functions | |
__construct () | |
Constructor. | |
Public Member Functions inherited from ilCache | |
__construct ($a_component, $a_cache_name, $a_use_long_content=false) | |
Constructor. | |
isDisabled () | |
Check if cache is disabled Forced if member view is active. | |
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. |
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. | |
readEntry ($a_id) | |
Read entry. |
Example cache class.
This class shoul fit two purposes
Definition at line 15 of file class.ilExampleCache.php.
ilExampleCache::__construct | ( | ) |
Constructor.
@return |
Definition at line 23 of file class.ilExampleCache.php.
References ilCache\setExpiresAfter().