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::attr5.18(3) - mojave
domattr(3) - php
xml::libxml::attr(3) - osx
dom_import_simplexml(3) - php
domdocument.createelement(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!