Dictionary - dictionary class. Includes \ArrayAccess, \Iterator, \Countable.

Method Description Available from version
count Calculates number of object items.
current Returns current item.
get Returns any variable for its name.
isEmpty Returns true when dictionary is empty.
key Returns current's element key.
next Jumps to the next item.
offsetExists Checks if offset exist.
offsetGet Specifies retrieval.
offsetSet Specifies offset.
offsetUnset Removes offset.
rewind Returns iterator by first item.
toArray Returns values as array.
valid Checks validity for current position.
Constructor Creates a class object.

© «Bitrix24», 2001-2022