hasAttributeNS()"HREF="function.dom-domelement-hasattributens.html"> Podręcznik P..."/>
Forum und email
DOMElement->hasAttribute()

DOMElement->hasAttribute()

(no version information, might be only in CVS)

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

Opis

class DOMElement {

bool hasAttribute ( string name )

}

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

Parametry

name

The attribute name.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.