(PHP 5 >= 5.2.1, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
XMLWriter::writeDtdEntity -- xmlwriter_write_dtd_entity — DTD エンティティタグ全体を書き込む
オブジェクト指向型
$name
, string $content
, bool $isParam
= false
, string|null $publicId
= null
, string|null $systemId
= null
, string|null $notationData
= null
) : bool手続き型
$writer
, string $name
, string $content
, bool $isParam
= false
, string|null $publicId
= null
, string|null $systemId
= null
, string|null $notationData
= null
) : boolDTD エンティティ全体を書き込みます。
writer
手続き型のコールでのみ使用します。 変更される XMLWriter のインスタンスです。 このインスタンスは、xmlwriter_open_uri() あるいは xmlwriter_open_memory() を呼び出すことで取得したものです。
name
エンティティの名前。
content
エンティティの内容。
成功した場合に true
を、失敗した場合に false
を返します。
バージョン | 説明 |
---|---|
8.0.0 |
引数 writer は、XMLWriter
のインスタンスを期待するようになりました。
これより前のバージョンでは、リソースが期待されていました。
|
8.0.0 |
publicId , systemId ,
notationData は、nullable になりました。
|