domelement.setidattributenode(3) php man page | unix.com

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
xml::libxml::attr(3) - suse
xml::libxml::attr(3) - osx
xml::libxml::attr(3) - centos
domelement(3) - php
domdocument.createelement(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch