<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.domelement.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'domelement.removeattribute.php',
    1 => 'DOMElement::removeAttribute',
    2 => 'Removes attribute',
  ),
  'up' => 
  array (
    0 => 'class.domelement.php',
    1 => 'DOMElement',
  ),
  'prev' => 
  array (
    0 => 'domelement.remove.php',
    1 => 'DOMElement::remove',
  ),
  'next' => 
  array (
    0 => 'domelement.removeattributenode.php',
    1 => 'DOMElement::removeAttributeNode',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/dom/domelement/removeattribute.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="domelement.removeattribute" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DOMElement::removeAttribute</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DOMElement::removeAttribute</span> &mdash; <span class="dc-title">Removes attribute</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-domelement.removeattribute-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DOMElement::removeAttribute</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$qualifiedName</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Removes attribute named <code class="parameter">qualifiedName</code> from the element.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-domelement.removeattribute-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">qualifiedName</code></dt>
     <dd>
      <p class="para">
       The name of the attribute.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-domelement.removeattribute-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> у разі успіху або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>

 <div class="refsect1 errors" id="refsect1-domelement.removeattribute-errors">
  <h3 class="title">Помилки/виключення</h3>
  <p class="para">
   <dl>
    
     <dt><strong><code><a href="dom.constants.php#constant.dom-no-modification-allowed-err">DOM_NO_MODIFICATION_ALLOWED_ERR</a></code></strong></dt>
     <dd>
      <p class="para">
       Raised if the node is readonly.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-domelement.removeattribute-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="domelement.hasattribute.php" class="methodname" rel="rdfs-seeAlso">DOMElement::hasAttribute()</a> - Checks to see if attribute exists</span></li>
    <li><span class="methodname"><a href="domelement.getattribute.php" class="methodname" rel="rdfs-seeAlso">DOMElement::getAttribute()</a> - Returns value of attribute</span></li>
    <li><span class="methodname"><a href="domelement.setattribute.php" class="methodname" rel="rdfs-seeAlso">DOMElement::setAttribute()</a> - Adds new or modifies existing attribute</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>