Приступая к работе

DomElement::remove_attribute - Removes attribute

Вернуться к: DOM XML (PHP 4) Функции

DomElement::remove_attribute

(PHP 4 >= 4.1.0)

DomElement::remove_attribute Removes attribute

Описание

bool DomElement::remove_attribute ( string $name )

Removes an attribute from the current DomElement node.

Список параметров

name

The name of the attribute to remove.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Migrating to PHP 5

Use DOMElement::removeAttribute.



Вернуться к: DOM XML (PHP 4) Функции