DOMElement->removeAttribute()

(no version information, might be only in CVS)

DOMElement->removeAttribute() -- Removes attribute

説明

class DOMElement {

bool removeAttribute ( string name )

}

Removes attribute named name from the element.

パラメータ

name

The name of the attribute.

戻り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例外

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.

以下も参照ください

DOMElement->hasAttribute()
DOMElement->getAttribute()
DOMElement->setAttribute()