Class ArrayHash
Provides objects to work as array.
-
stdClass
-
ArrayHash
implements
ArrayAccess,
Countable,
IteratorAggregate
Direct known subclasses
Row
Methods summary
public static
ArrayHash
|
#
from( array $arr, boolean $recursive = TRUE )
Parameters
- $arr
array to wrap
- $recursive
boolean
Returns
|
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
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
Implementation of
|
public
boolean
|
#
offsetExists( $key )
Determines whether a item exists.
Determines whether a item exists.
Returns
boolean
Implementation of
|
public
|
#
offsetUnset( $key )
Removes the element from this list.
Removes the element from this list.
Implementation of
|