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
domattr(3) - php
xml::libxml::attr(3) - centos
domtext(3) - php
xml::libxml::attr(3pm) - debian
xml::dom::element(1) - redhat
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework & Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun