PHP 手冊
上一頁 |  | 下一頁

# DOMElement->setAttributeNode

(no version information, might be only in CVS)

DOMElement->setAttributeNode -- Adds new attribute node to element

## Description

bool DOMElement->setAttributeNode ( object attr)

Adds new attribute node attr to element. Returns old node if attribute replaced.

Throws DOMExcpetion if node cannot be modified.

上一頁 | 最開頭 | 下一頁
DOMElement->setAttribute | 上一層 | DOMElement->setAttributeNodeNS