PHP 7.4.13 Released!

XMLWriter::startDtdElement

xmlwriter_start_dtd_element

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)

XMLWriter::startDtdElement -- xmlwriter_start_dtd_elementCreate start DTD element

Descrição

Estilo orientado à objeto

public XMLWriter::startDtdElement ( string $qualifiedName ) : bool

Estilo procedural

xmlwriter_start_dtd_element ( XMLWriter $writer , string $qualifiedName ) : bool

Starts a DTD element.

Parâmetros

xmlwriter

Apenas 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().

qualifiedName

The qualified name of the document type to create.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

Changelog

Versão Descrição
8.0.0 writer expects an XMLWriter instance now; previously, a resource was expected.

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top