DOMElement::hasAttribute
Checks to see if attribute exists
Beschreibung
public bool DOMElement::hasAttribute
( string $name
)
Parameter-Liste
-
name
-
The attribute name.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- DOMElement::hasAttributeNS
- DOMElement::getAttribute
- DOMElement::setAttribute
- DOMElement::removeAttribute