(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writeElement -- xmlwriter_write_element — Write full element tag
Estilo orientado à objeto
$name
[, string $content
] ) : boolEstilo procedural
$xmlwriter
, string $name
[, string $content
] ) : boolWrites a full element tag.
xmlwriterApenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().
nameThe element name.
contentThe element contents.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
| Versão | Descrição |
|---|---|
| 5.2.3 |
The content parameter became optional.
|