SimpleXMLIterator

creationdev

Documentation

Référencement web organique
Référencement web organique

300$ CAD

Conception d'application web
Conception d'application web

100$ CAD

Formation référencement web
Formation référencement web

100$ CAD

Conception web microsite
Conception web microsite

1000$ CAD

Référencement web stratégique
Référencement web stratégique

1000$ CAD

Référencement web optimisé
Référencement web optimisé

500$ CAD

Référencement web expert
Référencement web expert

750$ CAD

Conception web extra
Conception web extra

5000$ CAD

Conception web ecommerce
Conception web ecommerce

2500$ CAD

Conception web standard
Conception web standard

2500$ CAD

Classe

Classe

SimpleXMLIterator

SimpleXMLIterator

Page Vue 01 déc. 2018
Page Vue 30 fois

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

Introduction

La classe SimpleXMLIterator fournit des itérations récursives sur tous les éléments d'un objet SimpleXMLElement.

Synopsis de la classe

class SimpleXMLIterator extends SimpleXMLElement { /* Méthodes héritées */ public SimpleXMLElement::__construct(
    string $data,
    int $options = 0,
    bool $dataIsURL = false,
    string $namespaceOrPrefix = "",
    bool $isPrefix = false
) public SimpleXMLElement::addAttribute(string $qualifiedName, string $value, ?string $namespace = null): void public SimpleXMLElement::addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null): ?SimpleXMLElement public SimpleXMLElement::asXML(?string $filename = null): string|bool public SimpleXMLElement::attributes(?string $namespaceOrPrefix = null, bool $isPrefix = false): ?SimpleXMLElement public SimpleXMLElement::children(?string $namespaceOrPrefix = null, bool $isPrefix = false): ?SimpleXMLElement public SimpleXMLElement::count(): int public SimpleXMLElement::current(): SimpleXMLElement public SimpleXMLElement::getDocNamespaces(bool $recursive = false, bool $fromRoot = true): array|false public SimpleXMLElement::getName(): string public SimpleXMLElement::getNamespaces(bool $recursive = false): array public SimpleXMLElement::getChildren(): ?SimpleXMLElement public SimpleXMLElement::hasChildren(): bool public SimpleXMLElement::key(): string public SimpleXMLElement::next(): void public SimpleXMLElement::registerXPathNamespace(string $prefix, string $namespace): bool public SimpleXMLElement::rewind(): void public SimpleXMLElement::__toString(): string public SimpleXMLElement::valid(): bool public SimpleXMLElement::xpath(string $expression): array|null|false }

Historique

Version Description
8.0.0 Les méthodes d'itération (SimpleXMLIterator::hasChildren(), SimpleXMLIterator::getChildren(), SimpleXMLIterator::current(), SimpleXMLIterator::key(), SimpleXMLIterator::next(),SimpleXMLIterator::rewind(), SimpleXMLIterator::valid()) ont été déplacées vers SimpleXMLElement.
8.0.0 La classe SimpleXMLIterator implémente désormais Stringable.

Source : http://www.php.net/
Ref : classe-simplexmliterator.php




Contact

Contact

Veuillez saisir les infos dans le formulaire d'identification
suivant pour concevoir et référencer votre site.









Veuillez saisir votre message.

Carte d'affaires

Affichage de la carte d'affaires recto/verso.

Carte d'affaires recto
Carte d'affaires verso

Partagez

Partagez

Discussion ayant comme sujet la page SimpleXMLIterator.

©2025 creationdev -  F.A.Q. -  Soutien -  Haut de page
THÈMES: