(PHP 5)
DOMElement::setIdAttributeNode — Declares the attribute specified by node to be of type ID
Declares the attribute specified by attr to be of type ID.
The attribute node.
Set it to TRUE if you want name to be of type ID, FALSE otherwise.
没有返回值。
Raised if the node is readonly.
Raised if name is not an attribute of this element.