cvs: peardoc /en/package/xml xml-util.xml /en/package/xml/xml-util/xml-util createendelement.xml createstartelement.xml
| From: | Stephan Schmidt | Date: | Fri, 12 Sep 2003 10:30:51 +0000 |
| Subject: | cvs: peardoc /en/package/xml xml-util.xml /en/package/xml/xml-util/xml-util createendelement.xml createstartelement.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1511@lists.php.net to get a copy of this message | ||
schst Fri Sep 12 06:30:51 2003 EDT
Added files:
/peardoc/en/package/xml/xml-util/xml-util createendelement.xml
createstartelement.xml
Modified files:
/peardoc/en/package/xml xml-util.xml
Log:
added coumentation for XML_Util:createStartElement() and createEndElement()
Index: peardoc/en/package/xml/xml-util.xml
diff -u peardoc/en/package/xml/xml-util.xml:1.2 peardoc/en/package/xml/xml-util.xml:1.3
--- peardoc/en/package/xml/xml-util.xml:1.2 Tue Aug 12 10:58:50 2003
+++ peardoc/en/package/xml/xml-util.xml Fri Sep 12 06:30:50 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="package.xml.xml-util">
<title>XML_Util</title>
@@ -12,6 +12,8 @@
&package.xml.xml-util.xml-util.attributestostring;
&package.xml.xml-util.xml-util.createtag;
&package.xml.xml-util.xml-util.createtagfromarray;
+ &package.xml.xml-util.xml-util.createstartelement;
+ &package.xml.xml-util.xml-util.createendelement;
&package.xml.xml-util.xml-util.getdoctypedeclaration;
&package.xml.xml-util.xml-util.getxmldeclaration;
&package.xml.xml-util.xml-util.isvalidname;
Index: peardoc/en/package/xml/xml-util/xml-util/createendelement.xml
+++ peardoc/en/package/xml/xml-util/xml-util/createendelement.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-util.xml-util.createendelement">
<refnamediv>
<refname><function>XML_Util::createEndElement</function></refname>
<refpurpose>create an end element</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'XML/Util.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>string
<function>XML_Util::createEndElement</function></funcdef>
<paramdef>string <parameter>$qname</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.xml.xml-util.xml-util.createendelement.desc">
&title.desc;
<para>
create an end element (</foo>)
</para>
</refsect1>
<refsect1 id="package.default.xml-util.xml-util.createendelement.param">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $qname</parameter> - qualified tag name
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.xml.xml-util.xml-util.createendelement.return">
&title.returns;
<para>
<emphasis>string</emphasis> closing xml tag
</para>
</refsect1>
<refsect1 id="package.xml.xml-util.xml-util.createendelement.note">
&title.note;
¬e.shouldstatic;
</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
-->
Index: peardoc/en/package/xml/xml-util/xml-util/createstartelement.xml
+++ peardoc/en/package/xml/xml-util/xml-util/createstartelement.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-util.xml-util.createstartelement">
<refnamediv>
<refname><function>XML_Util::createStartElement</function></refname>
<refpurpose>create a start element</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'XML/Util.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>string
<function>XML_Util::createStartElement</function></funcdef>
<paramdef>string <parameter>$qname</parameter></paramdef>
<paramdef>array <parameter> <optional>$attributes =
array()</optional></parameter></paramdef>
<paramdef>string <parameter> <optional>$namespaceUri =
&null;</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.xml.xml-util.xml-util.createstartelement.desc">
&title.desc;
<para>
create a start element with attributes, namespace and adds 'xmlns' if
needed. (<pear foo="bar">)
</para>
</refsect1>
<refsect1 id="package.default.xml-util.xml-util.createstartelement.param">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $qname</parameter> - qualified tag name
</para>
</listitem>
<listitem>
<para>
<parameter>array $attributes</parameter> - assoc array with attributes
</para>
</listitem>
<listitem>
<para>
<parameter>string $namespaceUri</parameter> - URI of the namespace if xmlns
attribute should be added
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.xml.xml-util.xml-util.createstartelement.return">
&title.returns;
<para>
<emphasis>string</emphasis> opening xml tag
</para>
</refsect1>
<refsect1 id="package.xml.xml-util.xml-util.createstartelement.note">
&title.note;
¬e.shouldstatic;
</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
-->