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
Last updated: Fri, 13 Nov 2009

view this page in

DOMElement::hasAttribute

(PHP 5)

DOMElement::hasAttribute属性が存在するかどうかを調べる

説明

bool DOMElement::hasAttribute ( string $name )

要素のメンバとして name という名前の属性が 存在するかどうかを示します。

パラメータ

name

要素名。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考



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