Forum und email

DOMElement->hasAttributeNS()

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

DOMElement->hasAttributeNS() — 属性が存在するかどうかを調べる

説明

DOMElement
bool hasAttributeNS ( string $namespaceURI , string $localName )

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

パラメータ

namespaceURI

名前空間 URI。

localName

ローカル名。

返り値

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