The SimpleXMLIterator class

(PHP 5 >= 5.1.3, PHP 7, PHP 8)

Giriş

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

Sınıf Sözdizimi

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

İçindekiler