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 26
static ArrayHash
from($arr, $recursive = TRUE)
No description
at line 44
RecursiveArrayIterator
getIterator()
Returns an iterator over all items.
at line 54
int
count()
Returns items count.
at line 64
void
offsetSet($key, $value)
Replaces or appends a item.
at line 77
mixed
offsetGet($key)
Returns a item.
at line 87
bool
offsetExists($key)
Determines whether a item exists.
at line 97
void
offsetUnset($key)
Removes the element from this list.