cvs: peardoc /en/package/xml/xml-util/xml-util getdoctypedeclaration.xml
| From: | Stephan Schmidt | Date: | Tue, 12 Aug 2003 14:59:13 +0000 |
| Subject: | cvs: peardoc /en/package/xml/xml-util/xml-util getdoctypedeclaration.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1278@lists.php.net to get a copy of this message | ||
schst Tue Aug 12 10:59:13 2003 EDT
Added files:
/peardoc/en/package/xml/xml-util/xml-util getdoctypedeclaration.xml
Log:
added XML_Util::getDocTypeDeclaration()
Index: peardoc/en/package/xml/xml-util/xml-util/getdoctypedeclaration.xml
+++ peardoc/en/package/xml/xml-util/xml-util/getdoctypedeclaration.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-util.xml-util.getdoctypedeclaration">
<refnamediv>
<refname><function>XML_Util::getDocTypeDeclaration</function></refname>
<refpurpose>build a document type declaration</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'XML/Util.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>string
<function>XML_Util::getDocTypeDeclaration</function></funcdef>
<paramdef>string <parameter>$root</parameter></paramdef>
<paramdef>mixed <parameter> <optional>$uri =
null</optional></parameter></paramdef>
<paramdef>mixed <parameter> <optional>$internalDtd =
null</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.xml.xml-util.xml-util.getdoctypedeclaration.desc">
&title.desc;
<para>
Returns a document type declaration based on parameters.
</para>
</refsect1>
<refsect1 id="package.default.xml-util.xml-util.getdoctypedeclaration.param">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $root</parameter> - root tag
</para>
</listitem>
<listitem>
<para>
<parameter>mixed $uri</parameter> - URI of the document type definition or array
containing the public id and the URI of the DTD
</para>
</listitem>
<listitem>
<para>
<parameter>mixed $internalDtd</parameter> - internal definitions
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.xml.xml-util.xml-util.getdoctypedeclaration.return">
&title.returns;
<para>
<emphasis>string</emphasis> document type declaration
</para>
</refsect1>
<refsect1 id="package.xml.xml-util.xml-util.getdoctypedeclaration.note">
&title.note;
¬e.canstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->