cvs: phpdoc-ro /reference/wddx book.xml configure.xml constants.xml examples.xml setup.xml

From: Date: Sat, 29 Mar 2008 15:32:38 +0000
Subject: cvs: phpdoc-ro /reference/wddx book.xml configure.xml constants.xml examples.xml setup.xml
Groups: php.doc.ro 
Request: Send a blank email to doc-ro+get-388@lists.php.net to get a copy of this message
simionea Sat Mar 29 15:32:38 2008 UTC Added files: /phpdoc-ro/reference/wddx book.xml configure.xml constants.xml examples.xml setup.xml Log: Translated the file. http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/wddx/book.xml?view=markup&rev=1.1 Index: phpdoc-ro/reference/wddx/book.xml +++ phpdoc-ro/reference/wddx/book.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: simionea Status: translated --> <!-- Purpose: webservice --> <!-- Membership: bundled, external --> <book xml:id="book.wddx" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>WDDX</title> <!-- {{{ preface --> <preface xml:id="intro.wddx"> &reftitle.intro; <para> Aceste funcţii sunt destinate pentru lucrul cu <link xlink:href="&url.wddx;">WDDX</link>. </para> </preface> <!-- }}} --> &reference.wddx.setup; &reference.wddx.constants; &reference.wddx.examples; &reference.wddx.reference; </book> <!-- 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 indent-tabs-mode:nil 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/wddx/configure.xml?view=markup&rev=1.1 Index: phpdoc-ro/reference/wddx/configure.xml +++ phpdoc-ro/reference/wddx/configure.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: simionea Status: translated --> <section xml:id="wddx.installation" xmlns="http://docbook.org/ns/docbook"> &reftitle.install; <para> După instalarea expat compilaţi PHP cu opţiunea <option role="configure">--enable-wddx</option>. </para> &windows.builtin; </section> <!-- 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 indent-tabs-mode:nil 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/wddx/constants.xml?view=markup&rev=1.1 Index: phpdoc-ro/reference/wddx/constants.xml +++ phpdoc-ro/reference/wddx/constants.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: simionea Status: translated --> <appendix xml:id="wddx.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; &no.constants; </appendix> <!-- 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 indent-tabs-mode:nil 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/wddx/examples.xml?view=markup&rev=1.1 Index: phpdoc-ro/reference/wddx/examples.xml +++ phpdoc-ro/reference/wddx/examples.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: simionea Status: translated --> <chapter xml:id="wddx.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; <section xml:id="wddx.examples-serialize"> <para> Toate funcţiile care serializează variabile utilizează primul element din array pentru a determina dacă array-ul trebuie serializat într-un array, sau într-o structură. Dacă primul element are o cheie-string, atunci el este serializat într-o structură, în caz contrar, într-un array. </para> <example> <title>Serializarea unei singure valori cu WDDX</title> <programlisting role="php"> <![CDATA[ <?php echo wddx_serialize_value("PHP to WDDX packet example", "PHP packet"); ?> ]]> </programlisting> <para> Acest exemplu va produce: </para> <screen> <![CDATA[ <wddxPacket version='1.0'><header comment='PHP packet'/><data> <string>PHP to WDDX packet example</string></data></wddxPacket> ]]> </screen> </example> <example> <title>Utilizarea pachetelor incrementale cu WDDX</title> <programlisting role="php"> <![CDATA[ <?php $pi = 3.1415926; $packet_id = wddx_packet_start("PHP"); wddx_add_vars($packet_id, "pi"); /* Suppose $cities came from database */ $cities = array("Austin", "Novato", "Seattle"); wddx_add_vars($packet_id, "cities"); $packet = wddx_packet_end($packet_id); echo $packet; ?> ]]> </programlisting> <para> Acest exemplu va produce: </para> <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> </example> <note> <para> Dacă doriţi să serializaţi caractere non-ASCII, trebuie mai întâi să convertiţi datele dumneavoastră în UTF-8 (vezi <function>utf8_encode</function> şi <function>iconv</function>). </para> </note> </section> </chapter> <!-- 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 indent-tabs-mode:nil 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/wddx/setup.xml?view=markup&rev=1.1 Index: phpdoc-ro/reference/wddx/setup.xml +++ phpdoc-ro/reference/wddx/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: simionea Status: translated --> <chapter xml:id="wddx.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="wddx.requirements"> &reftitle.required; <para> Pentru a utiliza WDDX va trebui să instalaţi biblioteca expat (care vine cu Apache 1.3.7 sau ulterior). </para> </section> <!-- }}} --> <!-- {{{ Installation --> &reference.wddx.configure; <!-- }}} --> <!-- {{{ Configuration --> <section xml:id="wddx.configuration"> &reftitle.runtime; &no.config; </section> <!-- }}} --> <!-- {{{ Resources --> <section xml:id="wddx.resources"> &reftitle.resources; <para> Această extensie defineşte un identificator de pachet WDDX întors de <function>wddx_packet_start</function>. </para> </section> <!-- }}} --> </chapter> <!-- 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 indent-tabs-mode:nil 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 -->

« previous php.doc.ro (#388) next »