PHP
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 Sep 2008

view this page in

DOMElement::hasAttribute

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

DOMElement::hasAttributeChecks to see if attribute exists

Description

bool DOMElement::hasAttribute ( string $name )

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

Parameters

name

The attribute name.

Return Values

Returns TRUE on success or FALSE on failure.



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

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