Iterators
PHP Manual

The SimpleXMLIterator class

Giriş

The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.

Sınıf Sözdizimi

SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator , Traversable , Iterator , Countable {
/* Yöntemler */
public mixed current ( void )
object getChildren ( void )
bool hasChildren ( void )
mixed key ( void )
void next ( void )
void rewind ( void )
bool valid ( void )
/* Miras alınan yöntemler */
SimpleXMLIterator::__construct ( string $veri [, int $seçenekler [, bool $veri_bir_url [, string $isimalanı [, bool $önek_var ]]]] )
void addAttribute ( string $isim , string $değer [, string $isimalanı ] )
SimpleXMLElement addChild ( string $isim [, string $değer [, string $isimalanı ]] )
mixed asXML ([ string $dosya ] )
SimpleXMLElement attributes ([ string $isimalanı [, bool $önek_var ]] )
SimpleXMLElement children ([ string $isimalanı [, bool $önek_var ]] )
integer SimpleXMLElement::count ( void )
array getDocNamespaces ([ bool $ardışık ] )
string getName ( void )
array getNamespaces ([ bool $ardışık ] )
bool registerXPathNamespace ( string $önek , string $isimalanı )
array xpath ( string $ifade )
}

İçindekiler


Iterators
PHP Manual