set_attribute_node()"HREF="function.domelement-set-attribute-node.html"> Podręcznik PHP Poprzedni N..."/>
Forum und email
DomElement->remove_attribute()

DomElement->remove_attribute()

(no version information, might be only in CVS)

DomElement->remove_attribute() --  Removes attribute

Opis

class DomElement {

bool remove_attribute ( string name )

}

Removes an attribute from the current DomElement node.

Parametry

name

The name of the attribute to remove.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.

Migrating to PHP 5

Use DOMElement->removeAttribute().