DOMElement::hasAttribute
(PHP 5)
DOMElement::hasAttribute — Checks to see if attribute exists
Descrizione
bool DOMElement::hasAttribute
( string
$name
)
Indicates whether attribute named name
exists as a member of the element.
Elenco dei parametri
-
name -
The attribute name.
Valori restituiti
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Vedere anche:
- DOMElement::hasAttributeNS() - Checks to see if attribute exists
- DOMElement::getAttribute() - Returns value of attribute
- DOMElement::setAttribute() - Adds new attribute
- DOMElement::removeAttribute() - Removes attribute
There are no user contributed notes for this page.
