📄 domelement.removeattributenode.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Removes attribute</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="domelement.removeattribute.html">DOMElement::removeAttribute</a></div> <div class="next" style="text-align: right; float: right;"><a href="domelement.removeattributens.html">DOMElement::removeAttributeNS</a></div> <div class="up"><a href="class.domelement.html">DOMElement</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="domelement.removeattributenode" class="refentry"> <div class="refnamediv"> <h1 class="refname">DOMElement::removeAttributeNode</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">DOMElement::removeAttributeNode</span> — <span class="dc-title">Removes attribute</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><b>DOMElement::removeAttributeNode</b></b></span> ( <span class="methodparam"><span class="type"><a href="class.domattr.html" class="type DOMAttr">DOMAttr</a></span> <tt class="parameter">$oldnode</tt></span> )</div> <p class="para rdfs-comment"> Removes attribute <i><tt class="parameter">oldnode</tt></i> from the element. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">oldnode</tt></i></span> <dd> <p class="para"> The attribute node. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure. </p> </div> <div class="refsect1 errors"> <h3 class="title">Errors/Exceptions</h3> <p class="para"> <dl> <dt> <span class="term"><b><tt>DOM_NO_MODIFICATION_ALLOWED_ERR</tt></b></span> <dd> <p class="para"> Raised if the node is readonly. </p> </dd> </dt> <dt> <span class="term"><b><tt>DOM_NOT_FOUND_ERROR</tt></b></span> <dd> <p class="para"> Raised if <i><tt class="parameter">oldnode</tt></i> is not an attribute of the element. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="domelement.hasattribute.html" class="xref">DOMElement::hasAttribute</a></li> <li class="member"><a href="domelement.getattributenode.html" class="xref">DOMElement::getAttributeNode</a></li> <li class="member"><a href="domelement.setattributenode.html" class="xref">DOMElement::setAttributeNode</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="domelement.removeattribute.html">DOMElement::removeAttribute</a></div> <div class="next" style="text-align: right; float: right;"><a href="domelement.removeattributens.html">DOMElement::removeAttributeNS</a></div> <div class="up"><a href="class.domelement.html">DOMElement</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -