DOMDocument->createEntityReference()
(No version information available, might be only in CVS)
DOMDocument->createEntityReference() — Create new entity reference node
LeÃrás
DOMDocument
DOMEntityReference createEntityReference
( string $name
)
This function creates a new instance of class DOMEntityReference. Ez a csomópont nem fog látszani a dokumentumban mindaddig, amÃg az be nem lesz illesztve, például a DOMNode->appendChild() által.
Paraméterek
- name
-
The content of the entity reference, e.g. the entity reference minus the leading & and the trailing ; characters.
Visszatérési értékek
The new DOMEntityReference or FALSE if an error occured.
Hibák/Kivételek
- DOM_INVALID_CHARACTER_ERR
-
Raised if name contains an invalid character.
Lásd még
- DOMNode->appendChild()
- DOMDocument->createAttribute()
- DOMDocument->createAttributeNS()
- DOMDocument->createCDATASection()
- DOMDocument->createComment()
- DOMDocument->createDocumentFragment()
- DOMDocument->createElement()
- DOMDocument->createElementNS()
- DOMDocument->createProcessingInstruction()
- DOMDocument->createTextNode()