19 declare(strict_types=1);
67 $this->wrapper = $DIC->http()->wrapper();
68 $this->refinery = $DIC->refinery();
73 $hash = $this->
hash($this->identification->serialize());
74 $b = isset($this->storage[$hash]) && $this->storage[$hash] ==
true;
85 if (!isset($json_decode)) {
86 $cookie_value = $this->wrapper->cookie()->has(self::COOKIE_NS_GS)
87 ? $this->wrapper->cookie()->retrieve(self::COOKIE_NS_GS, $this->refinery->to()->string())
90 $json_decode = json_decode($cookie_value,
true, 512);
91 $json_decode = is_array($json_decode) ? $json_decode : [];
__construct(IdentificationInterface $identification)
ItemState constructor.
Interface IdentificationInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static initILIAS()
ilias initialisation