hosting y dominios
DOMElement
PHP Manual

DOMElement::removeAttribute

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

DOMElement::removeAttribute — Removes attribute

Descripción

bool DOMElement::removeAttribute ( string $name )

Removes attribute named name from the element.

Lista de parámetros

name

The name of the attribute.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Errors/Exceptions

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

Ver también


DOMElement
PHP Manual