Bitrix API

SessionLocalStorage implements ArrayAccess, Countable, IteratorAggregate

FinalYes

Table of Contents

Interfaces

ArrayAccess
Countable
IteratorAggregate

Methods

__construct()  : mixed
clear()  : void
count()  : int
get()  : mixed
getData()  : array<string|int, mixed>
getIterator()  : ArrayIterator
getName()  : string
getUniqueName()  : string
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
set()  : self
setData()  : $this
setUniqueName()  : SessionLocalStorage

Methods

__construct()

public __construct(string $uniqueName, string $name) : mixed
Parameters
$uniqueName : string
$name : string

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public & offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Attributes
#[ReturnTypeWillChange]

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

set()

public set(mixed $key, mixed $value) : self
Parameters
$key : mixed
$value : mixed
Return values
self

setData()

public setData(array<string|int, mixed> $data) : $this
Parameters
$data : array<string|int, mixed>
Return values
$this

        
On this page

Search results