The SimpleXMLIterator class

(No version information available, might only be in Git)

Giriş

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

Sınıf Sözdizimi

class SimpleXMLIterator extends SimpleXMLElement {
/* Miras alınan yöntemler */
public SimpleXMLElement::__construct(
    string $veri,
    int $seçenekler = 0,
    bool $veri_bir_url = false,
    string $isimalanı_veya_önek = "",
    bool $önek_var = false
)
public SimpleXMLElement::addAttribute(string $isim, string $değer, ?string $isimalanı = null): void
public SimpleXMLElement::attributes(?string $isimalanı_veya_önek = null, bool $önek_var = false): ?SimpleXMLElement
public SimpleXMLElement::children(?string $isimalanı_veya_önek = null, bool $önek_var = false): ?SimpleXMLElement
public SimpleXMLElement::getDocNamespaces(bool $ardışık = false, bool $kökten = true): array|false
}

Sürüm Bilgisi

Sürüm: Açıklama
8.0.0 Iterator methods (SimpleXMLIterator::hasChildren(), SimpleXMLIterator::getChildren(), SimpleXMLIterator::current(), SimpleXMLIterator::key(), SimpleXMLIterator::next(),SimpleXMLIterator::rewind(), SimpleXMLIterator::valid()) were moved to SimpleXMLElement.
8.0.0 SimpleXMLIterator implements Stringable now.