com doc/ja: Update argument names of http_build_query() : reference/url/functions/http-build-query.xml

From: Date: Fri, 19 Feb 2021 12:25:46 +0000
Subject: com doc/ja: Update argument names of http_build_query() : reference/url/functions/http-build-query.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-6203@lists.php.net to get a copy of this message
Commit: d526bfe3d30714d2bc40ed51db3fda24cd36c40f Author: Yoshinari Takaoka <mumumu@mumumu.org> Fri, 19 Feb 2021 21:25:46 +0900 Parents: 0104234b746d694d6fd02646c85947f7df6cec84 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=d526bfe3d30714d2bc40ed51db3fda24cd36c40f Log: Update argument names of http_build_query() See: print_r((new \ReflectionFunction('http_build_query'))->getParameters()); Closes GH-443. Changed paths: M reference/url/functions/http-build-query.xml Diff: diff --git a/reference/url/functions/http-build-query.xml b/reference/url/functions/http-build-query.xml index 63d2c0b51e..57db80bb4e 100644 --- a/reference/url/functions/http-build-query.xml +++ b/reference/url/functions/http-build-query.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: be5b0f33a18415823da76389915b49aae4ee6835 Maintainer: shimooka Status: ready --> +<!-- EN-Revision: ea70bbb2cb1c1233b1349ad405b93e7a593fdb4f Maintainer: shimooka Status: ready --> <!-- Credits: mumumu --> <refentry xml:id="function.http-build-query" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -12,10 +12,10 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>http_build_query</methodname> - <methodparam><type>mixed</type><parameter>query_data</parameter></methodparam> + <methodparam><type>mixed</type><parameter>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><initializer><constant>PHP_QUERY_RFC1738</constant></initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>encoding_type</parameter><initializer><constant>PHP_QUERY_RFC1738</constant></initializer></methodparam> </methodsynopsis> <para> 与えられた連想配列 (もしくは添字配列) から URL @@ -28,18 +28,18 @@ <para> <variablelist> <varlistentry> - <term><parameter>query_data</parameter></term> + <term><parameter>data</parameter></term> <listitem> <para> プロパティを含む配列もしくはオブジェクト。 </para> <para> - <parameter>query_data</parameter> が配列の場合の形式は、 + <parameter>data</parameter> が配列の場合の形式は、 単純な一次元構造か あるいは配列の配列 (言い換えると、他の配列を含む配列) となります。 </para> <para> - <parameter>query_data</parameter> がオブジェクトの場合、 + <parameter>data</parameter> がオブジェクトの場合、 public プロパティだけが結果に含められます。 </para> </listitem> @@ -72,20 +72,20 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>enc_type</parameter></term> + <term><parameter>encoding_type</parameter></term> <listitem> <para> デフォルトは <constant>PHP_QUERY_RFC1738</constant> です。 </para> <para> - <parameter>enc_type</parameter> が + <parameter>encoding_type</parameter> が <constant>PHP_QUERY_RFC1738</constant> の場合は <link xlink:href="&url.rfc;1738">RFC 1738</link> に従ってエンコードされ、メディアタイプは <literal>application/x-www-form-urlencoded</literal> となります。 つまり、スペースはプラス記号 (<literal>+</literal>) にエンコードされるということです。 </para> <para> - <parameter>enc_type</parameter> が + <parameter>encoding_type</parameter> が <constant>PHP_QUERY_RFC3986</constant> の場合は <link xlink:href="&url.rfc;3986">RFC 3986</link> に従ってエンコードされ、 スペースはパーセント形式 (<literal>%20</literal>) となります。

« previous php.doc.ja (#6203) next »