cvs: phpdoc-pl /reference/json constants.xml

From: Date: Wed, 08 Apr 2009 12:06:53 +0000
Subject: cvs: phpdoc-pl /reference/json constants.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-1530@lists.php.net to get a copy of this message
joeaccord Wed Apr 8 12:06:53 2009 UTC Modified files: /phpdoc-pl/reference/json constants.xml Log: translation update http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/json/constants.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-pl/reference/json/constants.xml diff -u phpdoc-pl/reference/json/constants.xml:1.3 phpdoc-pl/reference/json/constants.xml:1.4 --- phpdoc-pl/reference/json/constants.xml:1.3 Sat Jan 10 13:00:29 2009 +++ phpdoc-pl/reference/json/constants.xml Wed Apr 8 12:06:53 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.8 Maintainer: joeaccord Status: ready --> -<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: joeaccord Status: ready --> +<!-- $Revision: 1.4 $ --> <appendix xml:id="json.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; @@ -56,6 +56,71 @@ </listitem> </varlistentry> </variablelist> + + <para> + Nastêpuj±ce sta³e mog± byæ u¿yte jako kombinacja opcji dla + <function>json_encode</function>. Sta³e dostêpne s± od + PHP 5.3.0. + </para> + <variablelist> + <varlistentry> + <term> + <constant>JSON_HEX_TAG</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Konwertuje wszystkie &lt; i &gt; na \u003C i \u003E. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>JSON_HEX_AMP</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Konwertuje wszystkie &amp; na \u0026. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>JSON_HEX_APOS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Konwertuje wszystkie pojedyñcze cudzysz³owy ' na \u0027. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>JSON_HEX_QUOT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Konwertuje wszystkie podwójne cudzys³owy " na \u0022. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>JSON_FORCE_OBJECT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Zwraca obiekt zamiast tablicy, kiedy zostanie u¿yta nieasocjacyjna tablica. + Jest to szczególnie u¿yteczne, kiedy na wyj¶ciu oczekujemy obiektu, + a tablica jest pusta. + </simpara> + </listitem> + </varlistentry> + </variablelist> </appendix> <!-- Keep this comment at the end of the file

« previous php.doc.pl (#1530) next »