PHP: DOMElement->setIdAttributeNode() - Manual

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

search for in the

DOMElement->setIdAttributeNS() DOMElement->setIdAttribute()

Last updated: Fri, 26 Jan 2007

view this page in

# DOMElement->setIdAttributeNode()

(no version information, might be only in CVS)

DOMElement->setIdAttributeNode() -- Declares the attribute specified by node to be of type ID

## Описание

class DOMElement {
void setIdAttributeNode ( DOMAttr attr, bool isId )
}

Declares the attribute specified by `attr` to be of type ID.

## Список параметров

`attr`

  The attribute node.

`isId`

  Set it to `TRUE` if you want `name` to be of type ID, `FALSE` otherwise.

## Возвращаемые значения

Эта функция не возвращает значения после выполнения.

## Errors/Exceptions

`DOM_NO_MODIFICATION_ALLOWED_ERR`

  Raised if the node is readonly.

`DOM_NOT_FOUND`

  Raised if `name` is not an attribute of this element.

## Смотрите также

DOMDocument->getElementById()
DOMElement->setIdAttribute()
DOMElement->setIdAttributeNS()

add a note User Contributed Notes
DOMElement->setIdAttributeNode()
There are no user contributed notes for this page.
DOMElement->setIdAttributeNS() DOMElement->setIdAttribute()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST