Version: current

# Class ArrayIterator

  ArrayIterator implements Iterator, Traversable, ArrayAccess, SeekableIterator, Serializable, Countable

PHP Extension: SPL
Documented at php.net

## Methods summary

`public` | # `__construct( mixed $array )`
`public` | # `offsetExists( mixed $index )` #### Implementation of `ArrayAccess::offsetExists()`
`public` | # `offsetGet( mixed $index )` #### Implementation of `ArrayAccess::offsetGet()`
`public` | # `offsetSet( mixed $index, mixed $newval )` #### Implementation of `ArrayAccess::offsetSet()`
`public` | # `offsetUnset( mixed $index )` #### Implementation of `ArrayAccess::offsetUnset()`
`public` | # `append( mixed $value )`
`public` | # `getArrayCopy( )`
`public` | # `count( )` #### Implementation of `Countable::count()`
`public` | # `getFlags( )`
`public` | # `setFlags( mixed $flags )`
`public` | # `asort( )`
`public` | # `ksort( )`
`public` | # `uasort( mixed $cmp_function )`
`public` | # `uksort( mixed $cmp_function )`
`public` | # `natsort( )`
`public` | # `natcasesort( )`
`public` | # `unserialize( mixed $serialized )` #### Implementation of `Serializable::unserialize()`
`public` | # `serialize( )` #### Implementation of `Serializable::serialize()`
`public` | # `rewind( )` #### Implementation of `Iterator::rewind()`
`public` | # `current( )` #### Implementation of `Iterator::current()`
`public` | # `key( )` #### Implementation of `Iterator::key()`
`public` | # `next( )` #### Implementation of `Iterator::next()`
`public` | # `valid( )` #### Implementation of `Iterator::valid()`
`public` | # `seek( mixed $position )` #### Implementation of `SeekableIterator::seek()`

### Magic methods summary

## Constants summary

`integer` | `STD_PROP_LIST` | `1` | #
`integer` | `ARRAY_AS_PROPS` | `2` | #

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -