XML_Util::getDocTypeDeclaration

XML_Util::getDocTypeDeclaration() – ドキュメントタイプの宣言を構築する

Synopsis

require_once 'XML/Util.php';

string XML_Util::getDocTypeDeclaration ( string $root , mixed $uri = = null , mixed $internalDtd = = null )

Description

パラメーターに基づいたドキュメントタイプの宣言を返します。

Parameter

  • string $root - ルートタグです。

  • mixed $uri - パブリックIDを含むドキュメントタイプの定義か、 配列のURIおよびDTDのURIです。

  • mixed $internalDtd - 内部定義です。

Return value

string ドキュメントタイプ宣言です。

Note

This function should be called statically.