1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Dictionary
Граф наследования:Dictionary:
Dictionary ErrorCollection RulesCollection ContainerCollection ErrorCollection ParameterDictionary HttpCookies RemoteDictionary Collection State ExpensesCollection AdCollection ReportCollection

Открытые члены

 __construct (array $values=null)
 get ($name)
 set ($name, $value=null)
 getValues ()
 setValues ($values)
 clear ()
 current ()
 next ()
 key ()
 valid ()
 rewind ()
 offsetExists ($offset)
 offsetGet ($offset)
 offsetSet ($offset, $value)
 offsetUnset ($offset)
 count ()
 toArray ()
 isEmpty ()
 jsonSerialize ()
 __unserialize (array $data)

Защищенные данные

 $values = []

Подробное описание

См. определение в файле dictionary.php строка 5

Конструктор(ы)

◆ __construct()

__construct ( array $values = null)

Creates object.

Аргументы
array  |  null$values

Переопределяется в ErrorCollection, Environment, ErrorCollection, Server, HttpCookies и State.

См. определение в файле dictionary.php строка 17

Методы

◆ __unserialize()

__unserialize ( array $data)

См. определение в файле dictionary.php строка 221

◆ clear()

clear ( )

См. определение в файле dictionary.php строка 71

◆ count()

count ( )

Count elements of an object

См. определение в файле dictionary.php строка 187

◆ current()

current ( )

Return the current element

См. определение в файле dictionary.php строка 82

◆ get()

get ( $name)

Returns any variable by its name. Null if variable is not set.

Аргументы
string$name
Возвращает
string | array | null

См. определение в файле dictionary.php строка 31

◆ getValues()

getValues ( )
Возвращает
array

Переопределяется в RulesCollection.

См. определение в файле dictionary.php строка 58

◆ isEmpty()

isEmpty ( )

Returns true if the dictionary is empty.

Возвращает
bool

См. определение в файле dictionary.php строка 206

◆ jsonSerialize()

jsonSerialize ( )

JsonSerializable::jsonSerialize — Specify data which should be serialized to JSON

Возвращает
array

См. определение в файле dictionary.php строка 216

◆ key()

key ( )

Return the key of the current element

См. определение в файле dictionary.php строка 103

◆ next()

next ( )

Move forward to next element

См. определение в файле dictionary.php строка 92

◆ offsetExists()

offsetExists ( $offset)

Whether an offset exists

См. определение в файле dictionary.php строка 133

◆ offsetGet()

offsetGet ( $offset)

Offset to retrieve

См. определение в файле dictionary.php строка 144

◆ offsetSet()

offsetSet ( $offset,
$value )

Offset to set

Переопределяется в ErrorCollection, ContainerCollection, ErrorCollection, ParameterDictionary, HttpCookies и Collection.

См. определение в файле dictionary.php строка 160

◆ offsetUnset()

offsetUnset ( $offset)

Offset to unset

Переопределяется в ParameterDictionary.

См. определение в файле dictionary.php строка 177

◆ rewind()

rewind ( )

Rewind the Iterator to the first element

См. определение в файле dictionary.php строка 123

◆ set()

set ( $name,
$value = null )

Переопределяется в State, ExpensesCollection, AdCollection и ReportCollection.

См. определение в файле dictionary.php строка 43

◆ setValues()

setValues ( $values)
Аргументы
$values

Переопределяется в ParameterDictionary.

См. определение в файле dictionary.php строка 66

◆ toArray()

toArray ( )

Returns the values as an array.

Возвращает
array

Переопределяется в HttpCookies, State и ExpensesCollection.

См. определение в файле dictionary.php строка 197

◆ valid()

valid ( )

Checks if current position is valid

См. определение в файле dictionary.php строка 113

Поля

◆ $values

$values = []
protected

См. определение в файле dictionary.php строка 10


Объявления и описания членов класса находятся в файле: