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

search for in the

DOMElement::hasAttributeNS> <DOMElement::getElementsByTagNameNS
[edit] Last updated: Fri, 18 May 2012

view this page in

DOMElement::hasAttribute

(PHP 5)

DOMElement::hasAttributeChecks to see if attribute exists

Beschreibung

bool DOMElement::hasAttribute ( string $name )

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

Parameter-Liste

name

The attribute name.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch



add a note add a note User Contributed Notes DOMElement::hasAttribute
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites