method
public
SessionLocalStorage::get()
Сигнатура
public & get(mixed $key) : mixed
Параметры
$key
mixed
Возвращаемое значение
mixed
Как применяется в SessionLocalStorage
SessionLocalStorage::get() — метод класса \Bitrix\Main\Data\LocalStorage\SessionLocalStorage модуля «Главный модуль».
Метод объекта: сначала нужен экземпляр SessionLocalStorage.
use Bitrix\Main\Data\LocalStorage\SessionLocalStorage;
/** @var SessionLocalStorage $object */
$key = null;
$result = $object->get($key);
// $result: mixedДругие методы SessionLocalStorage
clear()count()getData()getIterator()getName()getUniqueName()offsetExists()offsetGet()offsetSet()offsetUnset()set()setData()
get() есть и у других классов модуля «Главный модуль»: CacheEngineApc, CacheEngineMemcache, CacheEngineMemcached, CacheEngineRedis, CacheEngineRedisLight, ComponentParams, Configuration, CurrentUser.
Исходный файл: source/main/lib/data/localstorage/sessionlocalstorage.php:62

