ParentIterator::rewind
RecursiveArrayIterator::getChildren
Iterators
PHP Manual

# The RecursiveArrayIterator class

## Introdução

This iterator allows to unset and modify values and keys while iterating over Arrays and Objects in the same way as the ArrayIterator . Additionally it is possible to iterate over the current iterator entry.

## Sinopse da classe

RecursiveArrayIterator
RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator {
/* Methods */
public RecursiveArrayIterator getChildren ( void )
public bool hasChildren ( void )
/* Inherits */
public void ArrayIterator::append ( mixed `$value` )
public void ArrayIterator::asort ( void )
ArrayIterator::__construct ( mixed `$array` )
public void ArrayIterator::count ( void )
mixed ArrayIterator::current ( void )
public array ArrayIterator::getArrayCopy ( void )
public void ArrayIterator::getFlags ( void )
mixed ArrayIterator::key ( void )
public void ArrayIterator::ksort ( void )
public void ArrayIterator::natcasesort ( void )
public void ArrayIterator::natsort ( void )
void ArrayIterator::next ( void )
public void ArrayIterator::offsetExists ( string `$index` )
public mixed ArrayIterator::offsetGet ( string `$index` )
public void ArrayIterator::offsetSet ( string `$index` , string `$newval` )
public void ArrayIterator::offsetUnset ( string `$index` )
void ArrayIterator::rewind ( void )
void ArrayIterator::seek ( int `$position` )
public string ArrayIterator::serialize ( void )
public void ArrayIterator::setFlags ( string `$flags` )
public void ArrayIterator::uasort ( string `$cmp_function` )
public void ArrayIterator::uksort ( string `$cmp_function` )
public string ArrayIterator::unserialize ( string `$serialized` )
bool ArrayIterator::valid ( void )
}

## Índice

- RecursiveArrayIterator::getChildren — Returns an iterator for the current entry if it is an array or an object.
- RecursiveArrayIterator::hasChildren — Returns whether current entry is an array or an object.

ParentIterator::rewind
RecursiveArrayIterator::getChildren
Iterators
PHP Manual