Class ItemState.
More...
◆ __construct()
GuzzleHttp\Client\ItemState::__construct |
( |
private IdentificationInterface |
$identification | ) |
|
◆ getStorage()
GuzzleHttp\Client\ItemState::getStorage |
( |
| ) |
|
- Returns
- mixed[]
Definition at line 69 of file ItemState.php.
References ILIAS\Repository\refinery().
Referenced by GuzzleHttp\Client\ItemState\__construct().
72 if (!isset($json_decode)) {
73 $cookie_value = $this->wrapper->cookie()->has(self::COOKIE_NS_GS)
74 ? $this->wrapper->cookie()->retrieve(self::COOKIE_NS_GS, $this->
refinery->to()->string())
77 $json_decode = json_decode((
string) $cookie_value,
true);
78 $json_decode = is_array($json_decode) ? $json_decode : [];
◆ isItemActive()
GuzzleHttp\Client\ItemState::isItemActive |
( |
| ) |
|
Definition at line 58 of file ItemState.php.
References Vendor\Package\$b.
60 $hash = $this->
hash($this->identification->serialize());
61 $b = isset($this->storage[$hash]) && $this->storage[$hash] ==
true;
◆ $refinery
Factory GuzzleHttp\Client\ItemState::$refinery |
|
protected |
◆ $storage
array GuzzleHttp\Client\ItemState::$storage |
|
private |
◆ $wrapper
WrapperFactory GuzzleHttp\Client\ItemState::$wrapper |
|
protected |
◆ COOKIE_NS_GS
const GuzzleHttp\Client\ItemState::COOKIE_NS_GS = 'gs_active_items' |
◆ LEVEL_OF_TOOL
const GuzzleHttp\Client\ItemState::LEVEL_OF_TOOL = 1 |
The documentation for this class was generated from the following file: