Man Page: domelement.setidattributenode
Operating Environment: php
Section: 3
DOMELEMENT.SETIDATTRIBUTENODE(3) 1 DOMELEMENT.SETIDATTRIBUTENODE(3) DOMElement::setIdAttributeNode - Declares the attribute specified by node to be of type ID SYNOPSIS
public void DOMElement::setIdAttributeNode (DOMAttr $attr, bool $isId) DESCRIPTION
Declares the attribute specified by $attr to be of type ID. PARAMETERS
o $attr - The attribute node. o $isId - Set it to TRUE if you want $name to be of type ID, FALSE otherwise. RETURN VALUES
No value is returned. ERRORS
/EXCEPTIONS o DOM_NO_MODIFICATION_ALLOWED_ERR - Raised if the node is readonly. o DOM_NOT_FOUND - Raised if $name is not an attribute of this element. SEE ALSO
DOMDocument::getElementById, DOMElement::setIdAttribute, DOMElement::setIdAttributeNS. PHP Documentation Group DOMELEMENT.SETIDATTRIBUTENODE(3)
| Related Man Pages |
|---|
| domattr(3) - php |
| domdocument(3) - php |
| domtext(3) - php |
| xml::dom::element(1) - redhat |
| domdocument.createelement(3) - php |