DOMElement::getElementsByTagNameNS
DOMElement::hasAttributeNS
DOMElement
PHP Manual

# DOMElement::hasAttribute

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

DOMElement::hasAttribute — Checks to see if attribute exists

### Opis

bool DOMElement::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 powodzenia, `FALSE` w przypadku błędu.

### Patrz także

- DOMElement::hasAttributeNS
- DOMElement::getAttribute
- DOMElement::setAttribute
- DOMElement::removeAttribute

DOMElement::getElementsByTagNameNS
DOMElement::hasAttributeNS
DOMElement
PHP Manual