4include_once(
"./Services/Cache/classes/class.ilCache.php");
36 $news_set->get(
"acc_cache_mins");
40 if ((
int) $news_set->get(
"acc_cache_mins") == 0) {
41 self::$disabled =
true;
51 return self::$disabled or parent::isDisabled();
61 return parent::readEntry($a_id);
80 parent::storeEntry($a_id, $a_value);
An exception for terminatinating execution or to throw for unit testing.
setExpiresAfter($a_val)
Set expires after x seconds.
storeEntry( $a_id, $a_value, $a_int_key1=null, $a_int_key2=null, $a_text_key1=null, $a_text_key2=null)
Id is user_id:ref_id, we store ref_if additionally.
isDisabled()
Check if cache is disabled.
readEntry($a_id)
Read an entry.
__construct()
Constructor.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc