DOMElement::hasAttribute
(PHP 5)
DOMElement::hasAttribute — Checks to see if attribute exists
Descrierea
bool DOMElement::hasAttribute
( string
$name
)
Indicates whether attribute named name
exists as a member of the element.
Parametri
-
name -
The attribute name.
Valorile întoarse
Întoarce valoarea TRUE în cazul
succesului sau FALSE în cazul eșecului.
Vedeți de asemenea
- 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.
