DOMElement->hasAttribute()

DOMElement->hasAttribute() -- Checks to see if attribute exists

Popis

class DOMElement {

bool hasAttribute ( string name )

}

Indicates whether attribute named name exists as a member of the element.

Parametre

name

The attribute name.

Vrátené hodnoty

Vracia TRUE pri �spechu alebe FALSE pri chybe.

Tiež pozri

DOMElement->hasAttributeNS()
DOMElement->getAttribute()
DOMElement->setAttribute()
DOMElement->removeAttribute()