cvs: peardoc /en/package/xml/xml-serializer/xml-unserializer apiversion.xml getrootname.xml getunserializeddata.xml resetoptions.xml setoption.xml
unserialize.xml xml_unserializer.xml

From: Date: Thu, 08 Jan 2004 21:15:41 +0000
Subject: cvs: peardoc /en/package/xml/xml-serializer/xml-unserializer apiversion.xml getrootname.xml getunserializeddata.xml resetoptions.xml setoption.xml
unserialize.xml xml_unserializer.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2096@lists.php.net to get a copy of this message
schst Thu Jan 8 16:15:41 2004 EDT Modified files: /peardoc/en/package/xml/xml-serializer/xml-unserializer apiversion.xml getrootname.xml getunserializeddata.xml resetoptions.xml setoption.xml unserialize.xml xml_unserializer.xml Log: cleanup and added some docs

Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/apiversion.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/apiversion.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/apiversion.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/apiversion.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/apiversion.xml Thu Jan 8 16:15:41 2004 @@ -1,47 +1,38 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.apiversion"> - <refnamediv> - <refname><function>XML_Unserializer::apiVersion</function></refname> - <refpurpose>return API version</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>string <function>XML_Unserializer::apiVersion</function></funcdef> -<paramdef></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::apiVersion</function></refname> + <refpurpose>return API version</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>string <function>XML_Unserializer::apiVersion</function></funcdef> + <paramdef></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.desc"> - &title.desc; - &notdocumented; - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.returns"> - &title.returns; - <para> - <emphasis>returns</emphasis> API version - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.static"> - <title>static</title> - <para> - <emphasis>static</emphasis> - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.desc"> + &title.desc; + <para> + Returns API version of XML_Unserializer. This may be useful to check if the needed + functionality exists. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.returns"> + &title.returns; + <para> + <emphasis>string</emphasis> API version + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.apiversion.static"> + &title.note; + &note.canstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -62,4 +53,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file + Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/getrootname.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/getrootname.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/getrootname.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/getrootname.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/getrootname.xml Thu Jan 8 16:15:41 2004 @@ -1,35 +1,48 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.getrootname"> - <refnamediv> - <refname><function>XML_Unserializer::getRootName</function></refname> - <refpurpose>get the name of the root tag</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>string <function>XML_Unserializer::getRootName</function></funcdef> -<paramdef></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::getRootName</function></refname> + <refpurpose>get the name of the root tag of the parsed document.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>string <function>XML_Unserializer::getRootName</function></funcdef> + <paramdef></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.desc"> - &title.desc; - &notdocumented; - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.desc"> + &title.desc; + <para> + This method will return the name of the root tag, after a document has been + unserialized. This can be extremely useful when returning an array. + You have to call + <link linkend="package.xml.xml-serializer.xml-unserializer.getunserializeddata.desc"> + <function>XML_Unserializer::unserialize</function> + </link> first. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.returns"> + &title.returns; + <para> + <emphasis>string</emphasis> name of the root tag + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.throws"> + &title.throws; + <para> + <emphasis>throws</emphasis> PEAR_Error object, if not document has been parsed. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.note"> + &title.note; + &note.notstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -50,4 +63,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file + Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/getunserializeddata.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/getunserializeddata.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/getunserializeddata.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/getunserializeddata.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/getunserializeddata.xml Thu Jan 8 16:15:41 2004 @@ -1,35 +1,47 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.getunserializeddata"> - <refnamediv> - <refname><function>XML_Unserializer::getUnserializedData</function></refname> - <refpurpose>get the result of the serialization</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>string <function>XML_Unserializer::getUnserializedData</function></funcdef> -<paramdef></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::getUnserializedData</function></refname> + <refpurpose>get the result of the unserialization</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>string <function>XML_Unserializer::getUnserializedData</function></funcdef> + <paramdef></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.getunserializeddata.desc"> - &title.desc; - &notdocumented; - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.getunserializeddata.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.getunserializeddata.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getunserializeddata.desc"> + &title.desc; + <para> + This method returns the result of the last unserialization. You have to call + <link linkend="package.xml.xml-serializer.xml-unserializer.getunserializeddata.desc"> + <function>XML_Unserializer::unserialize</function> + </link> first. + </para> +</refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.returns"> + &title.returns; + <para> + <emphasis>mixed</emphasis> result of the unserialization. May either be an array + or an object. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.throws"> + &title.throws; + <para> + <emphasis>throws</emphasis> PEAR_Error object, if not document has been parsed. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.getrootname.note"> + &title.note; + &note.notstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -50,4 +62,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file + Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/resetoptions.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/resetoptions.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/resetoptions.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/resetoptions.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/resetoptions.xml Thu Jan 8 16:15:41 2004 @@ -1,41 +1,39 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.resetoptions"> - <refnamediv> - <refname><function>XML_Unserializer::resetOptions</function></refname> - <refpurpose>reset all options to default options</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>XML_Unserializer::resetOptions</function></funcdef> -<paramdef></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::resetOptions</function></refname> + <refpurpose>reset all options to default options</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>void <function>XML_Unserializer::resetOptions</function></funcdef> + <paramdef></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.desc"> - &title.desc; - &notdocumented; - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.see"> - &title.see; - <para> - <emphasis>see</emphasis> <link linkend="package.xml.xml-serializer.xml-unserializer.setoption"><function>XML_Unserializer::setOption</function></link>, <link linkend="package.xml.xml-serializer.xml-unserializer.xml-unserializer"><function>XML_Unserializer::XML_Unserializer</function></link> - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.desc"> + &title.desc; + <para> + Resets all XML_Unserializer options to the default options. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.see"> + &title.see; + <para> + see <link linkend="package.xml.xml-serializer.xml-unserializer.setoption"><function>XML_Unserializer::setOption</function></link> + and <link linkend="package.xml.xml-serializer.xml-unserializer.xml-unserializer"><function>XML_Unserializer::XML_Unserializer</function></link> + on how to set options. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.resetoptions.note"> + &title.note; + &note.notstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -56,4 +54,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file + Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/setoption.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/setoption.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/setoption.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/setoption.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/setoption.xml Thu Jan 8 16:15:41 2004 @@ -1,78 +1,59 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.setoption"> - <refnamediv> - <refname><function>XML_Unserializer::setOption</function></refname> - <refpurpose>set an option</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>XML_Unserializer::setOption</function></funcdef> - <paramdef>mixed <parameter>$name</parameter></paramdef> - <paramdef>mixed <parameter>$value</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::setOption</function></refname> + <refpurpose>set an option</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>void <function>XML_Unserializer::setOption</function></funcdef> + <paramdef>string <parameter>$name</parameter></paramdef> + <paramdef>mixed <parameter>$value</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.desc"> - &title.desc; - <para>You can use this method if you do not want to set all options in the constructor</para> - - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.param"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term> - - - &type.mixed; - <parameter>$name</parameter> - </term> - <listitem> - <para> - - </para> - </listitem> - </varlistentry> - </variablelist> - <variablelist> - <varlistentry> - <term> - - - &type.mixed; - <parameter>$value</parameter> - </term> - <listitem> - <para> - - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.see"> - &title.see; - <para> - <emphasis>see</emphasis> resetOption(), <link linkend="package.xml.xml-serializer.xml-unserializer.xml-unserializer"><function>XML_Unserializer::XML_Unserializer</function></link> - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.desc"> + &title.desc; + <para> + Options influence the behaviour of XML_Unserializer and are the most important + part of XML_Unserializer. + </para> + <para> + You can use this method if you do not want to set all options in the constructor. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.param"> + &title.param; + <para> + <itemizedlist> + <listitem> + <para> + <parameter>string $option</parameter> - name of the option + </para> + </listitem> + <listitem> + <para> + <parameter>mixed $value</parameter> - value of the option + </para> + </listitem> + </itemizedlist> + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.see"> + &title.see; + <para> + see <link linkend="package.xml.xml-serializer.xml-unserializer.resetoptions"><function>XML_Unserializer::resetOptions</function></link> + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.setoption.note"> + &title.note; + &note.notstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -93,4 +74,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file + Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/unserialize.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/unserialize.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/unserialize.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/unserialize.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/unserialize.xml Thu Jan 8 16:15:41 2004 @@ -1,87 +1,65 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.unserialize"> - <refnamediv> - <refname><function>XML_Unserializer::unserialize</function></refname> - <refpurpose>unserialize data</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>boolean <function>XML_Unserializer::unserialize</function></funcdef> - <paramdef>mixed <parameter>$data</parameter></paramdef> - <paramdef>boolean <parameter> <optional>$isFile = &false;</optional></parameter></paramdef> - <paramdef>array <parameter> <optional>$options = &null;</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::unserialize</function></refname> + <refpurpose>unserialize data</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef>boolean <function>XML_Unserializer::unserialize</function></funcdef> + <paramdef>string <parameter>$data</parameter></paramdef> + <paramdef>boolean <parameter> <optional>$isFile = &false;</optional></parameter></paramdef> + <paramdef>array <parameter> <optional>$options = &null;</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.desc"> - &title.desc; - &notdocumented; - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.param"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term> - - - &type.mixed; - <parameter>$data</parameter> - </term> - <listitem> - <para> - data to unserialize (string, filename or resource) - </para> - </listitem> - </varlistentry> - </variablelist> - <variablelist> - <varlistentry> - <term> - - - &type.bool; - <parameter>$isFile</parameter> - </term> - <listitem> - <para> - string should be treated as a file - </para> - </listitem> - </varlistentry> - </variablelist> - <variablelist> - <varlistentry> - <term> - - - &type.array; - <parameter>$options</parameter> - </term> - <listitem> - <para> - - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.desc"> + &title.desc; + <para> + Unserialize an XML document from a string or a file. + </para> + <para> + The way the document is unserialized is influenced by the options you set in the constructor + or with <function>setOptions</function>. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.param"> + <para> + <itemizedlist> + <listitem> + <para> + <parameter>string $data</parameter> - either the file name of an XML document or a string containing + the XML document. + </para> + </listitem> + <listitem> + <para> + <parameter>boolean $isFile</parameter> - indicates whether the first parameter should + is a filename (&true;) or an XML string (&false;). + </para> + </listitem> + <listitem> + <para> + <parameter>array $options</parameter> - Options to override the options that have been set previously. + The options will only be used for this unserialization and then reset the the options you set before. + </para> + </listitem> + </itemizedlist> + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.return"> + &title.returns; + &return.success-pearerror; + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.unserialize.note"> + &title.note; + &note.notstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -102,4 +80,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file + Index: peardoc/en/package/xml/xml-serializer/xml-unserializer/xml_unserializer.xml diff -u peardoc/en/package/xml/xml-serializer/xml-unserializer/xml_unserializer.xml:1.1 peardoc/en/package/xml/xml-serializer/xml-unserializer/xml_unserializer.xml:1.2 --- peardoc/en/package/xml/xml-serializer/xml-unserializer/xml_unserializer.xml:1.1 Thu Jan 8 15:35:59 2004 +++ peardoc/en/package/xml/xml-serializer/xml-unserializer/xml_unserializer.xml Thu Jan 8 16:15:41 2004 @@ -1,55 +1,43 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.xml.xml-serializer.xml-unserializer.xml-unserializer"> - <refnamediv> - <refname>constructor <function>XML_Unserializer::XML_Unserializer</function></refname> - <refpurpose>constructor</refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once &apos;Unserializer.php&apos;; - </funcsynopsisinfo> - <funcprototype> - <funcdef>void constructor <function>XML_Unserializer::XML_Unserializer</function></funcdef> - <paramdef>mixed <parameter> <optional>$options = &null;</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> + <refnamediv> + <refname><function>XML_Unserializer::XML_Unserializer</function></refname> + <refpurpose>Constructor for XML_Unserializer</refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once &apos;Unserializer.php&apos;; + </funcsynopsisinfo> + <funcprototype> + <funcdef><function>XML_Unserializer::XML_Unserializer</function></funcdef> + <paramdef>array <parameter> <optional>$options = &null;</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.desc"> - &title.desc; - &notdocumented; - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.param"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term> - - - &type.mixed; - <parameter>$options</parameter> - </term> - <listitem> - <para> - array containing options for the serialization - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> no exceptions thrown - </para> - </refsect1> - <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.note"> - &title.note; - &note.notstatic; - </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.desc"> + &title.desc; + <para> + Creates a new instance of XML_Unserializer. + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.param"> + <para> + <itemizedlist> + <listitem> + <para> + <parameter>array $options</parameter> - Options for the instance. + Can also be set using <link linkend="package.xml.xml-serializer.xml-unserializer.setoption"><function>XML_Unserializer::setOption</function></link> + </para> + </listitem> + </itemizedlist> + </para> + </refsect1> + <refsect1 id="package.xml.xml-serializer.xml-unserializer.xml-unserializer.note"> + &title.note; + &note.notstatic; + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: @@ -70,4 +58,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - \ No newline at end of file +
« previous php.pear.doc (#2096) next »