4 include_once(
"./Services/Cache/classes/class.ilCache.php");
5 include_once
'./Services/Calendar/classes/class.ilCalendarSettings.php';
24 parent::__construct(
'ServicesCalendar',
'Calendar',
true);
34 if(isset(self::$instance)
and self::$instance)
36 return self::$instance;
52 return parent::readEntry($a_entry_id);
61 public function storeEntry($a_entry_id,$a_value,$a_key1 = 0,$a_key2 = 0,$a_key3 =
'',$a_key4 =
'')
67 parent::storeEntry($a_entry_id, $a_value, $a_key1, $a_key2, $a_key3, $a_key4);
76 public function storeUnlimitedEntry($a_entry_id,$a_value,$a_key1 = 0,$a_key2 = 0,$a_key3 =
'',$a_key4 =
'')
84 parent::storeEntry($a_entry_id,$a_value, $a_key1, $a_key2, $a_key3, $a_key4);
static getInstance()
get singleton instance
static _getInstance()
get singleton instance
deleteByAdditionalKeys($a_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null)
Delete by additional keys.
storeEntry($a_entry_id, $a_value, $a_key1=0, $a_key2=0, $a_key3='', $a_key4='')
Store an entry.
deleteUserEntries($a_user_id)
Delete user entries in cache.
storeUnlimitedEntry($a_entry_id, $a_value, $a_key1=0, $a_key2=0, $a_key3='', $a_key4='')
Store an entry without an expired time.
__construct()
Singleton constructor.
readEntry($a_entry_id)
Get cahed entry if cache is active.
setExpiresAfter($a_val)
Set expires after x seconds.