DomElement->remove_attribute()

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

DomElement->remove_attribute() — Supprime un attribut

Description

class DomElement {
bool remove_attribute ( string $name )
}

Supprime un attribut du noeud courant DomElement .

Liste de paramètres

name

Le nom de l'attribut à supprimer.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.

Migration vers PHP 5

Utilisez DOMElement->removeAttribute() .