19declare(strict_types=1);
38 if (!self::$instance instanceof
self) {
39 self::$instance =
new self();
52 return parent::readEntry($a_id);
58 ?
int $a_int_key1 =
null,
59 ?
int $a_int_key2 =
null,
60 ?
string $a_text_key1 =
null,
61 ?
string $a_text_key2 =
null
66 parent::storeEntry($a_id, $a_value, $a_int_key1, $a_int_key2, $a_text_key1, $a_text_key2);
84 $this->setExpiresAfter(60 * 60 * 24 * 365);
85 parent::storeEntry($a_entry_id, $a_value, $a_key1, $a_key2, $a_key3, $a_key4);
94 $this->deleteByAdditionalKeys($a_user_id);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setExpiresAfter(int $a_val)
Set expires after x seconds.
readEntry(string $a_id)
Get cached entry if cache is active.
deleteUserEntries(int $a_user_id)
Delete user entries in cache.
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)
static ilCalendarCache $instance
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)
Stores all calendar relevant settings.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
if(!file_exists('../ilias.ini.php'))