array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'domelement.setidattributens.php', 1 => 'DOMElement::setIdAttributeNS', ), 'up' => array ( 0 => 'class.domelement.php', 1 => 'DOMElement', ), 'prev' => array ( 0 => 'domelement.setidattributenode.php', 1 => 'DOMElement::setIdAttributeNode', ), 'next' => array ( 0 => 'domelement.toggleattribute.php', 1 => 'DOMElement::toggleAttribute', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'reference/dom/domelement/setidattributens.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
DOMElement::setIdAttributeNS — Declara que o atributo especificado pelo nome local e pelo URI do namespace é do tipo ID
Declara que o atributo especificado por qualifiedName
e
namespace
é do tipo ID.
Nenhum valor é retornado.
DOM_NO_MODIFICATION_ALLOWED_ERR
Gerado se o nó estiver somente leitura.
DOM_NOT_FOUND
Gerado se name
não for um atributo deste elemento.