Class ItemState.
More...
◆ __construct()
| GuzzleHttp\Client\ItemState::__construct |
( |
IdentificationInterface |
$identification | ) |
|
◆ getStorage()
| GuzzleHttp\Client\ItemState::getStorage |
( |
| ) |
|
- Returns
- mixed[]
Definition at line 70 of file ItemState.php.
References ILIAS\Repository\refinery().
Referenced by GuzzleHttp\Client\ItemState\__construct().
73 if (!isset($json_decode)) {
74 $cookie_value = $this->wrapper->cookie()->has(self::COOKIE_NS_GS)
75 ? $this->wrapper->cookie()->retrieve(self::COOKIE_NS_GS, $this->
refinery->to()->string())
78 $json_decode = json_decode($cookie_value,
true);
79 $json_decode = is_array($json_decode) ? $json_decode : [];
◆ isItemActive()
| GuzzleHttp\Client\ItemState::isItemActive |
( |
| ) |
|
Definition at line 59 of file ItemState.php.
References Vendor\Package\$b.
61 $hash = $this->
hash($this->identification->serialize());
62 $b = isset($this->storage[$hash]) && $this->storage[$hash] ==
true;
◆ $identification
| IdentificationInterface GuzzleHttp\Client\ItemState::$identification |
|
private |
◆ $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: