XMLWriter::writeElement
(No version information available, might be only in CVS)
XMLWriter::writeElement — Write full element tag
Descrizione
Object oriented style:
XMLWriter
bool writeElement
( string $name
[, string $content
] )
Procedural style:
bool xmlwriter_write_element
( resource $xmlwriter
, string $name
[, string $content
] )
Writes a full element tag.
Elenco dei parametri
- xmlwriter
-
Solo per chiamate procedurali. La resource XMLWriter che è stata modificata. Questa risorsa deriva da una chiamata a xmlwriter_open_uri() or xmlwriter_open_memory().
- name
-
The element name.
- content
-
The element contents.
Valori restituiti
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Log delle modifiche
Versione | Descrizione |
---|---|
PHP 5.2.3 | The content parameter became optional. |