Re: svn: /phpdoc/en/trunk/reference/url/ constants.xml functions/http-build-query.xml
| From: | Peter Cowburn | Date: | Mon, 10 Jan 2011 09:08:40 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/url/ constants.xml functions/http-build-query.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-7631@lists.php.net to get a copy of this message | ||
On 10 January 2011 01:40, Rui Hirokawa <hirokawa@php.net> wrote:
> hirokawa Mon, 10 Jan 2011 01:40:51 +0000
>
> Revision: Gxÿ~€b
> •´Qà�Œhttp://svn.php.net/viewvc?view=revision&revision=307319
>
> Log:
> added enc_type option to http_build_query.
>
> Changed paths:
> U phpdoc/en/trunk/reference/url/constants.xml
> U phpdoc/en/trunk/reference/url/functions/http-build-query.xml
>
> Modified: phpdoc/en/trunk/reference/url/constants.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/url/constants.xml 2011-01-10 01:04:36 UTC (rev 307318)
> +++ phpdoc/en/trunk/reference/url/constants.xml 2011-01-10 01:40:51 UTC (rev 307319)
> @@ -96,6 +96,28 @@
> </simpara>
> </listitem>
> </varlistentry>
> + <varlistentry>
> + <term>
> + <constant>PHP_QUERY_RFC1738</constant>
> + (<type>integer</type>)
> + </term>
> + <listitem>
> + <simpara>
> +
> + </simpara>
> + </listitem>
> + </varlistentry>
> + <varlistentry>
> + <term>
> + <constant>PHP_QUERY_RFC3986</constant>
> + (<type>integer</type>)
> + </term>
> + <listitem>
> + <simpara>
> +
> + </simpara>
> + </listitem>
> + </varlistentry>
> </variablelist>
> </appendix>
>
>
> Modified: phpdoc/en/trunk/reference/url/functions/http-build-query.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/url/functions/http-build-query.xml 2011-01-10 01:04:36
> UTC (rev 307318)
> +++ phpdoc/en/trunk/reference/url/functions/http-build-query.xml 2011-01-10 01:40:51
> UTC (rev 307319)
> @@ -13,6 +13,7 @@
>
> <methodparam><type>mixed</type><parameter>query_data</parameter></methodparam>
> <methodparam
> choice="opt"><type>string</type><parameter>numeric_prefix</parameter></methodparam>
> <methodparam
> choice="opt"><type>string</type><parameter>arg_separator</parameter></methodparam>
> + <methodparam
> choice="opt"><type>int</type><parameter>enc_type</parameter></methodparam>
> </methodsynopsis>
> <para>
> Generates a URL-encoded query string from the associative (or indexed)
> @@ -65,6 +66,21 @@
> </para>
> </listitem>
> </varlistentry>
> + <varlistentry>
> + <term><parameter>enc_type</parameter></term>
> + <listitem>
> + <para>
> + By default, or ,
> + if <constant>PHP_QUERY_RFC1738</constant> is specified,
> + RFC1738 based scheme, that is the same way as in
> + <literal>application/x-www-form-urlencoded</literal> media type,
> + is used. The spaces are encoded as plus (+) signs in this case.
> + If <constant>PHP_QUERY_RFC3986</constant> is specified,
> + it encodes the given string
> + according to <link xlink:href="&url.rfc;3986">RFC
> 3986</link>.
> + </para>
> + </listitem>
> + </varlistentry>
> </variablelist>
> </para>
> </refsect1>
> @@ -100,6 +116,12 @@
> Square brackets are escaped.
> </entry>
> </row>
> + <row>
> + <entry>5.3.6</entry>
This should use the &version.trunk.changelog; entity since 5.3.6 has
not been released yet so changes cannot have happened in it.
> + <entry>
> + The <parameter>enc_type</parameter> parameter was added..
> + </entry>
> + </row>
> </tbody>
> </tgroup>
> </informaltable>
>
>
> --
> PHP Documentation Commits Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>