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
Palauttaa TRUE onnistuessaan, muutoin FALSE.