ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Calendar cache. More...
Public Member Functions | |
__construct () | |
Singleton constructor. More... | |
readEntry ($a_entry_id) | |
Get cahed entry if cache is active. More... | |
storeEntry ($a_entry_id, $a_value, $a_key1=0, $a_key2=0, $a_key3='', $a_key4='') | |
Store an entry. More... | |
storeUnlimitedEntry ($a_entry_id, $a_value, $a_key1=0, $a_key2=0, $a_key3='', $a_key4='') | |
Store an entry without an expired time. More... | |
deleteUserEntries ($a_user_id) | |
Delete user entries in cache. 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 Member Functions | |
static | getInstance () |
get singleton instance More... | |
Static Private Attributes | |
static | $instance = null |
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... | |
ilCalendarCache::__construct | ( | ) |
Singleton constructor.
Definition at line 22 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance(), and ilCache\setExpiresAfter().
ilCalendarCache::deleteUserEntries | ( | $a_user_id | ) |
Delete user entries in cache.
type | $a_user_id |
Definition at line 93 of file class.ilCalendarCache.php.
References ilCache\deleteByAdditionalKeys().
|
static |
get singleton instance
Definition at line 32 of file class.ilCalendarCache.php.
Referenced by ilCalendarAppointmentGUI\createDefaultCalendar(), ilCalendarCategories\deletePDItemsCache(), ilCalendarCategories\deleteRepositoryCache(), and ilCalendarCategories\initialize().
ilCalendarCache::readEntry | ( | $a_entry_id | ) |
Get cahed entry if cache is active.
object | $a_entry_id |
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 |
Definition at line 61 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance().
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(), and ilCache\setExpiresAfter().
|
staticprivate |
Definition at line 16 of file class.ilCalendarCache.php.