| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Example cache class. More...
 Inheritance diagram for ilExampleCache:
 Inheritance diagram for ilExampleCache: Collaboration diagram for ilExampleCache:
 Collaboration diagram for ilExampleCache:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: