hasAttributeNS()"HREF="function.dom-domelement-hasattributens.html"> Manuál PHP P..."/>
Forum und email
DOMElement->hasAttribute()

DOMElement->hasAttribute()

(no version information, might be only in CVS)

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.

Seznam parametrů

name

The attribute name.

Návratové hodnoty

Vrací TRUE při úspěchu, FALSE při selhání.