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, 23 Mar 2012

view this page in

DOMElement::hasAttribute

(PHP 5)

DOMElement::hasAttributeChecks 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.

Zobacz też:



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