cvs: phpdoc /en/reference rsusi.txt /en/reference/wddx reference.xml

From: Date: Sat, 20 Jul 2002 13:47:58 +0000
Subject: cvs: phpdoc /en/reference rsusi.txt /en/reference/wddx reference.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347444@lists.php.net to get a copy of this message
goba Sat Jul 20 09:47:58 2002 EDT Modified files: /phpdoc/en/reference rsusi.txt /phpdoc/en/reference/wddx reference.xml Log: Applying new structure Index: phpdoc/en/reference/rsusi.txt diff -u phpdoc/en/reference/rsusi.txt:1.7 phpdoc/en/reference/rsusi.txt:1.8 --- phpdoc/en/reference/rsusi.txt:1.7 Sat Jul 20 09:21:29 2002 +++ phpdoc/en/reference/rsusi.txt Sat Jul 20 09:47:57 2002 @@ -121,8 +121,8 @@ url !no var !no vpopmail !no -w32api !no -wddx !no +w32api +wddx xml !no xmlrpc xslt Index: phpdoc/en/reference/wddx/reference.xml diff -u phpdoc/en/reference/wddx/reference.xml:1.3 phpdoc/en/reference/wddx/reference.xml:1.4 --- phpdoc/en/reference/wddx/reference.xml:1.3 Sun Jun 30 12:08:48 2002 +++ phpdoc/en/reference/wddx/reference.xml Sat Jul 20 09:47:58 2002 @@ -1,58 +1,83 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <reference id="ref.wddx"> <title>WDDX Functions</title> <titleabbrev>WDDX</titleabbrev> <partintro> - <para> - These functions are intended for work with <ulink - url="&url.wddx;">WDDX</ulink>. - </para> - <para> - In order to use WDDX, you will need to install the expat library - (which comes with Apache 1.3.7 or higher) and recompile PHP with - <option role="configure">--with-xml</option> and <option - role="configure">--enable-wddx</option>. - </para> - <note> - <para> - If you want to serialize non-ASCII characters you have to set - the appropriate locale before doing so (see - <function>setlocale</function>). - </para> - </note> - <para> - All the functions that serialize variables use the first - element of an array to determine whether the array is to be - serialized into an array or structure. If the first element has - string key, then it is serialized into a structure, otherwise, - into an array. - <example> - <title>Serializing a single value</title> - <programlisting role="php"> + <section id="wddx.intro"> + &reftitle.intro; + <para> + These functions are intended for work with <ulink + url="&url.wddx;">WDDX</ulink>. + </para> + </section> + + <section id="wddx.requirements"> + &reftitle.required; + <para> + In order to use WDDX, you will need to install the expat library + (which comes with Apache 1.3.7 or higher). + </para> + </section> + + <section id="wddx.installation"> + &reftitle.install; + <para> + After installing expat compile PHP with + <option role="configure">--with-xml</option> and <option + role="configure">--enable-wddx</option>. + </para> + </section> + + <section id="wddx.configuration"> + &reftitle.runtime; + &no.config; + </section> + + <section id="wddx.resources"> + &reftitle.resources; + &no.resource; + </section> + + <section id="wddx.constants"> + &reftitle.constants; + &no.constants; + </section> + + <section id="wddx.examples"> + &reftitle.examples; + <para> + All the functions that serialize variables use the first + element of an array to determine whether the array is to be + serialized into an array or structure. If the first element has + string key, then it is serialized into a structure, otherwise, + into an array. + <example> + <title>Serializing a single value</title> + <programlisting role="php"> <![CDATA[ <?php print wddx_serialize_value("PHP to WDDX packet example", "PHP packet"); ?> ]]> - </programlisting> - </example> - </para> - <para> - This example will produce: - <informalexample> - <programlisting role="php"> + </programlisting> + </example> + </para> + <para> + This example will produce: + <informalexample> + <programlisting role="php"> <![CDATA[ <wddxPacket version='1.0'><header comment='PHP packet'/><data> <string>PHP to WDDX packet example</string></data></wddxPacket> ]]> - </programlisting> - </informalexample> + </programlisting> + </informalexample> - <example> - <title>Using incremental packets</title> - <programlisting role="php"> + <example> + <title>Using incremental packets</title> + <programlisting role="php"> <![CDATA[ <?php $pi = 3.1415926; @@ -67,22 +92,30 @@ print $packet; ?> ]]> - </programlisting> - </example> - </para> - <para> - This example will produce: - <informalexample> - <screen> + </programlisting> + </example> + </para> + <para> + This example will produce: + <informalexample> + <screen> <![CDATA[ <wddxPacket version='1.0'><header comment='PHP'/><data><struct> <var name='pi'><number>3.1415926</number></var><var name='cities'> <array length='3'><string>Austin</string><string>Novato</string> <string>Seattle</string></array></var></struct></data></wddxPacket> ]]> - </screen> - </informalexample> - </para> + </screen> + </informalexample> + </para> + <note> + <para> + If you want to serialize non-ASCII characters you have to set + the appropriate locale before doing so (see + <function>setlocale</function>). + </para> + </note> + </section> </partintro> &reference.wddx.functions;

« previous php.doc (#969347444) next »