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

search for in the

DOMElement::setIdAttributeNode> <DOMElement::setAttributeNS
[edit] Last updated: Fri, 07 Jun 2013

view this page in

DOMElement::setIdAttribute

(PHP 5)

DOMElement::setIdAttributeDeclara el atributo especificado por su nombre como de tipo ID

Descripción

void DOMElement::setIdAttribute ( string $name , bool $isId )

Declara el atributo name como de tipo ID.

Parámetros

name

El nombre del atributo.

isId

Establecer a TRUE si se quiere que name sea de tipo ID, FALSE si no.

Valores devueltos

No devuelve ningún valor.

Errores/Excepciones

DOM_NO_MODIFICATION_ALLOWED_ERR

Lanzado si el nodo es de sólo lectura.

DOM_NOT_FOUND

Lanzado si name no es un atributo de este elemento.

Ver también



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

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