Class ArrayList
Provides the base class for a generic list (items can be accessed by
index).
-
Nette\Object
-
Nette\Utils\ArrayList
implements
ArrayAccess,
Countable,
IteratorAggregate
Methods summary
public
ArrayIterator
|
#
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( integer|null $index, mixed $value )
Replaces or appends a item.
Replaces or appends a item.
Parameters
Throws
Implementation of
|
public
mixed
|
#
offsetGet( integer $index )
Returns a item.
Parameters
Returns
mixed mixed
Throws
Implementation of
|
public
boolean
|
#
offsetExists( integer $index )
Determines whether a item exists.
Determines whether a item exists.
Parameters
Returns
boolean bool
Implementation of
|
public
|
#
offsetUnset( integer $index )
Removes the element at the specified position in this list.
Removes the element at the specified position in this list.
Parameters
Throws
Implementation of
|