Class ArrayHash
Provides objects to work as array.
-
stdClass
-
Nette\Utils\ArrayHash
implements
ArrayAccess,
Countable,
IteratorAggregate
Methods summary
public static
Nette\Utils\ArrayHash
|
#
from( array $arr, boolean $recursive = TRUE )
|
public
RecursiveArrayIterator
|
#
getIterator( )
Returns an iterator over all items.
Returns an iterator over all items.
Returns
Implementation of
|
public
integer
|
#
count( )
Returns items count.
Returns
integer int
Implementation of
|
public
|
#
offsetSet( $key, $value )
Replaces or appends a item.
Replaces or appends a item.
Implementation of
|
public
mixed
|
#
offsetGet( $key )
Returns a item.
Returns
mixed mixed
Implementation of
|
public
boolean
|
#
offsetExists( $key )
Determines whether a item exists.
Determines whether a item exists.
Returns
boolean bool
Implementation of
|
public
|
#
offsetUnset( $key )
Removes the element from this list.
Removes the element from this list.
Implementation of
|