RecursiveIteratorIterator::valid
SimpleXMLIterator::current
Iterators
PHP Manual
The SimpleXMLIterator class
Введение
...
Class synopsis
SimpleXMLIterator
SimpleXMLIterator
extends
SimpleXMLElement
implements
RecursiveIterator
,
Traversable
,
Iterator
,
Countable
{
/* Methods */
mixed
current
(
void
)
object
getChildren
(
void
)
bool
hasChildren
(
void
)
mixed
key
(
void
)
void
next
(
void
)
void
rewind
(
void
)
bool
valid
(
void
)
}
Содержание
SimpleXMLIterator::current
— Return current SimpleXML entry
SimpleXMLIterator::getChildren
— Returns an iterator for the current entry if it is a SimpleXML object
SimpleXMLIterator::hasChildren
— Returns whether current entry is a SimpleXML object
SimpleXMLIterator::key
— Return current SimpleXML key
SimpleXMLIterator::next
— Move to next entry
SimpleXMLIterator::rewind
— Rewind SimpleXML back to the start
SimpleXMLIterator::valid
— Check whether SimpleXML contains more entries
RecursiveIteratorIterator::valid
SimpleXMLIterator::current
Iterators
PHP Manual