DOMElement->hasAttribute()
DOMElement->hasAttribute() -- Checks to see if attribute exists
Description
class
DOMElement {
bool
hasAttribute ( string name )
}
Indicates whether attribute named name
exists as a member of the element.
Return Values
Returns TRUE on success or FALSE on failure.