PHP: DOMElement->hasAttribute() - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMElement->hasAttributeNS() DOMElement->getElementsByTagNameNS()

Last updated: Fri, 26 Jan 2007

view this page in

# DOMElement->hasAttribute()

(no version information, might be only in CVS)

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

## Описание

class DOMElement {
bool hasAttribute ( string name )
}

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

## Список параметров

`name`

  The attribute name.

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

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

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

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

add a note User Contributed Notes
DOMElement->hasAttribute()
There are no user contributed notes for this page.
DOMElement->hasAttributeNS() DOMElement->getElementsByTagNameNS()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST