DOMElement::removeAttribute

(PHP 5, PHP 7, PHP 8)

DOMElement::removeAttributeRemoves attribute

Descrizione

public DOMElement::removeAttribute(string $qualifiedName): bool

Removes attribute named qualifiedName from the element.

Elenco dei parametri

qualifiedName

The name of the attribute.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.

Errori/Eccezioni

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

Vedere anche: