Php/docs/function.xmlwriter-write-dtd-entity

提供:Dev Guides
< Php
移動先:案内検索

XMLWriter::writeDtdEntity

xmlwriter_write_dtd_entity

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

XMLWriter::writeDtdEntity -- xmlwriter_write_dtd_entityDTD エンティティタグ全体を書き込む


説明

オブジェクト指向型

public XMLWriter::writeDtdEntity ( string $name , string $content [, bool $isParam = false [, string|null $publicId = null [, string|null $systemId = null [, string|null $notationData = null ]]]] ) : bool

手続き型

xmlwriter_write_dtd_entity ( XMLWriter $writer , string $name , string $content [, bool $isParam = false [, string|null $publicId = null [, string|null $systemId = null [, string|null $notationData = null ]]]] ) : bool

DTD エンティティ全体を書き込みます。


パラメータ

writer
手続き型のコールでのみ使用します。 変更される XMLWriter のインスタンスです。 このインスタンスは、xmlwriter_open_uri() あるいは xmlwriter_open_memory() を呼び出すことで取得したものです。
name
エンティティの名前。
content
エンティティの内容。


返り値

成功した場合に true を、失敗した場合に false を返します。


変更履歴

バージョン 説明
8.0.0 引数 writer は、XMLWriter

のインスタンスを期待するようになりました。 これより前のバージョンでは、リソースが期待されていました。

8.0.0 publicId, systemId,

notationData は、nullable になりました。


参考