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

