Class ArrayList
Provides the base class for a generic list (items can be accessed by index).
- ArrayList implements ArrayAccess, Countable, IteratorAggregate, Traversable
Direct Known Subclasses
MultiRouter
public
ArrayIterator
|
#
getIterator(
)
Returns an iterator over all items. |
public
int
|
#
count(
)
Returns items count. |
public
void
|
#
offsetSet(
int
$index,
mixed
$value
)
Replaces or appends a item. Replaces or appends a item. Parameters$index int$value mixedThrows
OutOfRangeException
Implementation of |
public
mixed
|
#
offsetGet(
int
$index
)
Returns a item. Returns a item. Parameters$index intThrows
OutOfRangeException
Implementation of |
public
bool
|
#
offsetExists(
int
$index
)
Determines whether a item exists. |
public
void
|
#
offsetUnset(
int
$index
)
Removes the element at the specified position in this list. Removes the element at the specified position in this list. Parameters$index intThrows
OutOfRangeException
Implementation of |