3declare(strict_types=1);
24 if (!self::$instance instanceof
self) {
25 self::$instance =
new self();
38 return parent::readEntry($a_id);
44 ?
int $a_int_key1 =
null,
45 ?
int $a_int_key2 =
null,
46 ?
string $a_text_key1 =
null,
47 ?
string $a_text_key2 =
null
52 parent::storeEntry($a_id, $a_value, $a_int_key1, $a_int_key2, $a_text_key1, $a_text_key2);
70 $this->setExpiresAfter(60 * 60 * 24 * 365);
71 parent::storeEntry($a_entry_id, $a_value, $a_key1, $a_key2, $a_key3, $a_key4);
80 $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.
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc