DOMElement::hasAttribute
Checks to see if attribute exists
Description
public bool DOMElement::hasAttribute(string $qualifiedName)
Parameters
-
qualifiedName
-
The attribute name.
Return Values
Returns true on success or false on failure.
See Also
- DOMElement::hasAttributeNS
- DOMElement::getAttribute
- DOMElement::setAttribute
- DOMElement::removeAttribute