ArrayHash
class ArrayHash extends stdClass implements ArrayAccess, Countable, IteratorAggregate
Provides objects to work as array.
Methods
getIterator()
Returns an iterator over all items.
int
count()
Returns items count.
void
offsetSet($key, $value)
Replaces or appends a item.
mixed
offsetGet($key)
Returns a item.
bool
offsetExists($key)
Determines whether a item exists.
void
offsetUnset($key)
Removes the element from this list.
Details
at line 24
static ArrayHash
from($arr, $recursive = TRUE)
No description
at line 42
RecursiveArrayIterator
getIterator()
Returns an iterator over all items.
at line 52
int
count()
Returns items count.
at line 62
void
offsetSet($key, $value)
Replaces or appends a item.
at line 75
mixed
offsetGet($key)
Returns a item.
at line 85
bool
offsetExists($key)
Determines whether a item exists.
at line 95
void
offsetUnset($key)
Removes the element from this list.