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

search for in the

DOMDocument::createProcessingInstruction> <DOMDocument::createElementNS
[edit] Last updated: Fri, 17 May 2013

view this page in

DOMDocument::createEntityReference

(PHP 5)

DOMDocument::createEntityReferenceCreate new entity reference node

Descripción

DOMEntityReference DOMDocument::createEntityReference ( string $name )

Esta función crea una nueva instancia de la clase DOMEntityReference. Este nodo no se mostrará en el documento a no ser que sea insertado con (p.e.j.) DOMNode::appendChild().

Parámetros

name

El contenido de la entidad referencia, e.j. la entidad referencia menos los carácteres & inicial y el ; final.

Valores devueltos

El nuevo DOMEntityReference o FALSE si ha ocurrido un error.

Errores/Excepciones

DOM_INVALID_CHARACTER_ERR

Lanzado si name contiene un carácter inválido.

Ver también



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

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