ILIAS
Release_4_1_x_branch Revision 61804
|
Calendar cache. More...
Public Member Functions | |
__construct () | |
Singleton constructor. | |
readEntry ($a_entry_id) | |
Get cahed entry if cache is active. | |
storeEntry ($a_entry_id, $a_value, $a_key1=0, $a_key2=0, $a_key3= '', $a_key4= '') | |
Store an entry. | |
storeUnlimitedEntry ($a_entry_id, $a_value, $a_key1=0, $a_key2=0, $a_key3= '', $a_key4= '') | |
Store an entry without an expired time. | |
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. | |
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 Member Functions | |
static | getInstance () |
get singleton instance |
Static Private Attributes | |
static | $instance = null |
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. |
ilCalendarCache::__construct | ( | ) |
Singleton constructor.
Definition at line 22 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance(), and ilCache\setExpiresAfter().
|
static |
get singleton instance
Definition at line 32 of file class.ilCalendarCache.php.
References $instance.
Referenced by ilCalendarCategories\deletePDItemsCache(), ilCalendarCategories\deleteRepositoryCache(), and ilCalendarCategories\initialize().
ilCalendarCache::readEntry | ( | $a_entry_id | ) |
Get cahed entry if cache is active.
object | $a_entry_id |
Reimplemented from ilCache.
Definition at line 46 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance().
ilCalendarCache::storeEntry | ( | $a_entry_id, | |
$a_value, | |||
$a_key1 = 0 , |
|||
$a_key2 = 0 , |
|||
$a_key3 = '' , |
|||
$a_key4 = '' |
|||
) |
Store an entry.
object | $a_entry_id | |
object | $a_value |
Reimplemented from ilCache.
Definition at line 61 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance().
Referenced by storeUnlimitedEntry().
ilCalendarCache::storeUnlimitedEntry | ( | $a_entry_id, | |
$a_value, | |||
$a_key1 = 0 , |
|||
$a_key2 = 0 , |
|||
$a_key3 = '' , |
|||
$a_key4 = '' |
|||
) |
Store an entry without an expired time.
object | $a_entry_id | |
object | $a_value |
Definition at line 76 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance(), ilCache\setExpiresAfter(), and storeEntry().
|
staticprivate |
Definition at line 16 of file class.ilCalendarCache.php.
Referenced by getInstance().