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

search for in the

DOMElement::setIdAttributeNS> <DOMElement::setIdAttribute
[edit] Last updated: Fri, 24 Jun 2011

view this page in

DOMElement::setIdAttributeNode

(PHP 5)

DOMElement::setIdAttributeNodeاعلام ویژگی مشخص شده توسط گره که باید از نوع ID باشد

Description

void DOMElement::setIdAttributeNode ( DOMAttr $attr , bool $isId )

اعلام ویژگی مشخص شده توسط attr که باید از نوع ID باشد.

Parameters

attr

گره ویژگی.

isId

آن را برابر با TRUE قرار دهید اگر می‌خواهید name از نوع ID باشد FALSE در غیر این صورت.

Return Values

No value is returned.

Errors/Exceptions

DOM_NO_MODIFICATION_ALLOWED_ERR

ایجاد اگر گره فقط خواندنی باشد.

DOM_NOT_FOUND

ایجاد اگر name اگر ویژگی این جز نیست.

See Also



add a note add a note User Contributed Notes DOMElement::setIdAttributeNode - [0 notes]
There are no user contributed notes for this page.

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