DOM
PHP Manual

DOMElement->hasAttribute()

(No version information available, might be only in CVS)

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

Опи�ание

DOMElement
bool hasAttribute ( string $name )

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

Спи�ок параметров

name

The attribute name.

Возвращаемые значени�

Возвращает TRUE в �лучае у�пешного завершени� или FALSE в �лучае возникновени� ошибки.

Смотрите также


DOM
PHP Manual