SimpleXML
PHP Manual

Die SimpleXMLIterator-Klasse

(PHP 5 >= 5.1.3, PHP 7)

Einführung

Der SimpleXMLIterator verwaltet rekursive Interation über alle Knotenpunkte eines SimpleXMLElement-Objektes.

Klassenbeschreibung

SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator , Countable {
/* Methoden */
public mixed current ( void )
public SimpleXMLIterator getChildren ( void )
public bool hasChildren ( void )
public mixed key ( void )
public void next ( void )
public void rewind ( void )
public bool valid ( void )
/* Geerbte Methoden */
__construct ( string $data [, int $options [, bool $data_is_url [, string $ns [, bool $is_prefix ]]]] )
void addAttribute ( string $name , string $value [, string $namespace ] )
SimpleXMLElement addChild ( string $name [, string $value [, string $namespace ]] )
mixed asXML ([ string $filename ] )
SimpleXMLElement attributes ([ string $ns [, bool $is_prefix ]] )
SimpleXMLElement children ([ string $ns [, bool $is_prefix ]] )
public int SimpleXMLElement::count ( void )
array getDocNamespaces ([ bool $recursive ] )
string getName ( void )
array getNamespaces ([ bool $recursive ] )
bool registerXPathNamespace ( string $prefix , string $ns )
public string SimpleXMLElement::__toString ( void )
array xpath ( string $path )
}

Inhaltsverzeichnis


SimpleXML
PHP Manual