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

search for in the

DOMEntity> <DOMElement::setIdAttributeNode
Last updated: Fri, 13 Nov 2009

view this page in

DOMElement::setIdAttributeNS

(PHP 5)

DOMElement::setIdAttributeNSID 型の属性をローカル名および名前空間 URI で宣言する

説明

void DOMElement::setIdAttributeNS ( string $namespaceURI , string $localName , bool $isId )

ID 型となる属性を localName および namespaceURI で宣言します。

パラメータ

namespaceURI

属性の名前空間 URI。

localName

属性のローカル名。prefix:tagname 形式。

isId

name を ID 型にしたい場合に TRUE、 それ以外の場合に FALSE を設定します。

返り値

値を返しません。

エラー / 例外

DOM_NO_MODIFICATION_ALLOWED_ERR

ノードが読み込み専用である場合に発生します。

DOM_NOT_FOUND

name がこの要素の属性でない場合に発生します。

参考



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

DOMEntity> <DOMElement::setIdAttributeNode
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites