|
ILIAS
release_8 Revision v8.24
|
Calendar cache. More...
Inheritance diagram for ilCalendarCache:
Collaboration diagram for ilCalendarCache: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... | |
Public Member Functions inherited from ilCache | |
| __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... | |
Protected Member Functions inherited from ilCache | |
| 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 | |
Protected Attributes inherited from ilCache | |
| 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().
Here is the call graph for this function:| ilCalendarCache::deleteUserEntries | ( | int | $a_user_id | ) |
Delete user entries in cache.
Definition at line 78 of file class.ilCalendarCache.php.
|
static |
Definition at line 22 of file class.ilCalendarCache.php.
References $instance.
Referenced by ilCalendarAppointmentGUI\createDefaultCalendar(), ilCalendarCategories\deletePDItemsCache(), and ilCalendarCategories\deleteRepositoryCache().
Here is the caller graph for this function:
|
protected |
Get cached entry if cache is active.
Reimplemented from ilCache.
Definition at line 33 of file class.ilCalendarCache.php.
References ilCalendarSettings\_getInstance().
Here is the call graph for this function:| 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 |
||
| ) |
Reimplemented from ilCache.
Definition at line 41 of file class.ilCalendarCache.php.
| 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.
|
staticprivate |
Definition at line 14 of file class.ilCalendarCache.php.
Referenced by getInstance().