DOMDocument->createElement

(no version information, might be only in CVS)

DOMDocument->createElement -- Crea un nuovo nodo elemento

Descrizione

object DOMDocument->createElement ( string name [, string value] )

Questa funzione restituisce una nuova istanza di DOMElement. Il nome del tag dell'elemtno è indicato dal valore del parametro name. Facoltativamente, può essere passato un valore per il nuovo elemento. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild().

Restituisce FALSE se si verifica un errore.

Vedere anche DOMDocument->createElementNS(), DOMNode->appendChild(), DOMDocument->createTextNode(), DOMDocument->createComment(), DOMDocument->createAttribute() e DOMDocument->createProcessingInstruction().

Hosting by: hurra.com
Generated: 2007-01-26 17:56:40