Manual PHP - Dokumentacja PHP - Zapraszamy!

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.

Patrz takĹĽe

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

LP:
Fatal error: Call to undefined function: show_links() in /home/httpd/vhosts/php.rek.waw.pl/httpdocs/index.php on line 69