NoRewindIterator::valid
ParentIterator::accept
Iterators
PHP Manual
The ParentIterator class
Introduction
...
Class synopsis
ParentIterator
extends
RecursiveFilterIterator
implements
RecursiveIterator
,
OuterIterator
,
Traversable
,
Iterator
{
/* Methods */
public
bool
accept
(
void
)
__construct
(
RecursiveIterator
$iterator
)
ParentIterator
getChildren
(
void
)
bool
hasChildren
(
void
)
void
next
(
void
)
void
rewind
(
void
)
}
Table of Contents
ParentIterator::accept
— Determines acceptability
ParentIterator::__construct
— Constructs a ParentIterator
ParentIterator::getChildren
— Return the inner iterator's children contained in a ParentIterator
ParentIterator::hasChildren
— Check whether the inner iterator's current element has children
ParentIterator::next
— Move the iterator forward
ParentIterator::rewind
— Rewind the iterator
NoRewindIterator::valid
ParentIterator::accept
Iterators
PHP Manual