(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.