ILIAS
release_8 Revision v8.19
|
Calendar cache. More...
Public Member Functions | |
__construct () | |
storeEntry (string $a_id, string $a_value, ?int $a_int_key1=null, ?int $a_int_key2=null, ?string $a_text_key1=null, ?string $a_text_key2=null) | |
storeUnlimitedEntry (string $a_entry_id, string $a_value, ?int $a_key1=0, ?int $a_key2=0, ?string $a_key3='', ?string $a_key4='') | |
Store an entry without an expired time (one year) More... | |
deleteUserEntries (int $a_user_id) | |
Delete user entries in cache. More... | |
![]() | |
__construct (string $a_component, string $a_cache_name, bool $a_use_long_content=false) | |
isDisabled () | |
Check if cache is disabled Forced if member view is active. More... | |
setComponent (string $a_val) | |
setExpiresAfter (int $a_val) | |
Set expires after x seconds. More... | |
getExpiresAfter () | |
getEntry (string $a_id) | |
getLastAccessStatus () | |
storeEntry (string $a_id, string $a_value, ?int $a_int_key1=null, ?int $a_int_key2=null, ?string $a_text_key1=null, ?string $a_text_key2=null) | |
deleteByAdditionalKeys (?int $a_int_key1=null, ?int $a_int_key2=null, ?string $a_text_key1=null, ?string $a_text_key2=null) | |
deleteAllEntries () | |
deleteEntry (string $a_id) | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
readEntry (string $a_id) | |
Get cached entry if cache is active. More... | |
![]() | |
getComponent () | |
setName (string $a_val) | |
getName () | |
setUseLongContent (bool $a_val) | |
getUseLongContent () | |
readEntry (string $a_id) | |
Static Private Attributes | |
static ilCalendarCache | $instance = null |
Additional Inherited Members | |
![]() | |
string | $entry |
string | $last_access |
int | $expires_after |
bool | $use_long_content |
string | $name |
string | $component |
ilCalendarCache::__construct | ( | ) |
Definition at line 16 of file class.ilCalendarCache.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilCalendarSettings\_getInstance(), and ilCache\setExpiresAfter().
ilCalendarCache::deleteUserEntries | ( | int | $a_user_id | ) |
Delete user entries in cache.
Definition at line 78 of file class.ilCalendarCache.php.
References ilCache\deleteByAdditionalKeys().
|
static |
Definition at line 22 of file class.ilCalendarCache.php.
Referenced by ilCalendarAppointmentGUI\createDefaultCalendar(), ilCalendarCategories\deletePDItemsCache(), ilCalendarCategories\deleteRepositoryCache(), and ilCalendarCategories\initialize().
|
protected |
Get cached entry if cache is active.
Definition at line 33 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance().
ilCalendarCache::storeEntry | ( | string | $a_id, |
string | $a_value, | ||
?int | $a_int_key1 = null , |
||
?int | $a_int_key2 = null , |
||
?string | $a_text_key1 = null , |
||
?string | $a_text_key2 = null |
||
) |
Definition at line 41 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance().
ilCalendarCache::storeUnlimitedEntry | ( | string | $a_entry_id, |
string | $a_value, | ||
?int | $a_key1 = 0 , |
||
?int | $a_key2 = 0 , |
||
?string | $a_key3 = '' , |
||
?string | $a_key4 = '' |
||
) |
Store an entry without an expired time (one year)
Definition at line 58 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance(), and ilCache\setExpiresAfter().
|
staticprivate |
Definition at line 14 of file class.ilCalendarCache.php.