DOMElement::hasAttribute
(PHP 5)
DOMElement::hasAttribute — Checks to see if attribute exists
Opis
bool DOMElement::hasAttribute
( string $name
)
Indicates whether attribute named name exists as a member of the element.
Parametry
- name
-
The attribute name.
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.
Zobacz też:
- DOMElement::hasAttributeNS - Checks to see if attribute exists
- DOMElement::getAttribute - Returns value of attribute
- DOMElement::setAttribute - Adds new attribute
- DOMElement::removeAttribute - Removes attribute
DOMElement::hasAttribute
There are no user contributed notes for this page.
