svn: /phpdoc/ja/trunk/reference/filter/functions/ filter-has-var.xml filter-id.xml filter-input-array.xml filter-input.xml filter-var-array.xml filter-var.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 18 Nov 2020 23:16:41 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351436

Log:
Generate filter methodsynopses based on stubs

Patch contributed by Máté Kocsis <[email protected]>.

Changed paths:
    U   phpdoc/ja/trunk/reference/filter/functions/filter-has-var.xml
    U   phpdoc/ja/trunk/reference/filter/functions/filter-id.xml
    U   phpdoc/ja/trunk/reference/filter/functions/filter-input-array.xml
    U   phpdoc/ja/trunk/reference/filter/functions/filter-input.xml
    U   phpdoc/ja/trunk/reference/filter/functions/filter-var-array.xml
    U   phpdoc/ja/trunk/reference/filter/functions/filter-var.xml
svn-diffs-351436.txt (text/x-diff, 13.1 KB)
Modified: phpdoc/ja/trunk/reference/filter/functions/filter-has-var.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/functions/filter-has-var.xml	2020-11-18 23:14:53 UTC (rev 351435)
+++ phpdoc/ja/trunk/reference/filter/functions/filter-has-var.xml	2020-11-18 23:16:41 UTC (rev 351436)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 300153 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: takagi Status: ready -->
 <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
 <refentry xml:id="function.filter-has-var" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,8 +11,8 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>filter_has_var</methodname>
-   <methodparam><type>int</type><parameter>type</parameter></methodparam>
-   <methodparam><type>string</type><parameter>variable_name</parameter></methodparam>
+   <methodparam><type>int</type><parameter>input_type</parameter></methodparam>
+   <methodparam><type>string</type><parameter>var_name</parameter></methodparam>
   </methodsynopsis>

  </refsect1>
@@ -21,7 +21,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>type</parameter></term>
+     <term><parameter>input_type</parameter></term>
      <listitem>
       <para>
        <constant>INPUT_GET</constant>、<constant>INPUT_POST</constant>、
@@ -31,7 +31,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>variable_name</parameter></term>
+     <term><parameter>var_name</parameter></term>
      <listitem>
       <para>
        調べたい変数の名前。
@@ -49,7 +49,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/filter/functions/filter-id.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/functions/filter-id.xml	2020-11-18 23:14:53 UTC (rev 351435)
+++ phpdoc/ja/trunk/reference/filter/functions/filter-id.xml	2020-11-18 23:16:41 UTC (rev 351436)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 302254 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: takagi Status: ready -->
 <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
 <refentry xml:id="function.filter-id" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,8 +10,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>filter_id</methodname>
-   <methodparam><type>string</type><parameter>filtername</parameter></methodparam>
+   <type class="union"><type>int</type><type>false</type></type><methodname>filter_id</methodname>
+   <methodparam><type>string</type><parameter>name</parameter></methodparam>
   </methodsynopsis>

  </refsect1>
@@ -20,7 +20,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>filtername</parameter></term>
+     <term><parameter>name</parameter></term>
      <listitem>
       <para>
        取得したいフィルタの名前。
@@ -47,7 +47,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/filter/functions/filter-input-array.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/functions/filter-input-array.xml	2020-11-18 23:14:53 UTC (rev 351435)
+++ phpdoc/ja/trunk/reference/filter/functions/filter-input-array.xml	2020-11-18 23:16:41 UTC (rev 351436)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.filter-input-array" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,9 +10,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>filter_input_array</methodname>
+   <type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>filter_input_array</methodname>
    <methodparam><type>int</type><parameter>type</parameter></methodparam>
-   <methodparam choice="opt"><type>mixed</type><parameter>definition</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>add_empty</parameter><initializer>&true;</initializer></methodparam>
   </methodsynopsis>
   <para>
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>definition</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
        引数を定義する配列。配列のキーとして使用できるのは
@@ -187,13 +187,12 @@
    <simplelist>
     <member><function>filter_input</function></member>
     <member><function>filter_var_array</function></member>
-    <member><xref linkend="filter.filters" /></member>
+    <member><xref linkend="filter.filters"/></member>
    </simplelist>
   </para>
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/filter/functions/filter-input.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/functions/filter-input.xml	2020-11-18 23:14:53 UTC (rev 351435)
+++ phpdoc/ja/trunk/reference/filter/functions/filter-input.xml	2020-11-18 23:16:41 UTC (rev 351436)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 335127 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: takagi Status: ready -->
 <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
 <refentry xml:id="function.filter-input" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,9 +12,9 @@
   <methodsynopsis>
    <type>mixed</type><methodname>filter_input</methodname>
    <methodparam><type>int</type><parameter>type</parameter></methodparam>
-   <methodparam><type>string</type><parameter>variable_name</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer>FILTER_DEFAULT</initializer></methodparam>
-   <methodparam choice="opt"><type>mixed</type><parameter>options</parameter></methodparam>
+   <methodparam><type>string</type><parameter>var_name</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>

  </refsect1>
@@ -33,7 +33,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>variable_name</parameter></term>
+     <term><parameter>var_name</parameter></term>
      <listitem>
       <para>
        取得する変数の名前。
@@ -58,7 +58,7 @@
   &reftitle.returnvalues;
   <para>
    成功した場合は要求された変数の値、フィルタリングに失敗した場合に &false;、
-   あるいは変数 <parameter>variable_name</parameter> が設定されていない場合に
+   あるいは変数 <parameter>var_name</parameter> が設定されていない場合に
    &null; を返します。フラグ <constant>FILTER_NULL_ON_FAILURE</constant>
    が指定されている場合は、変数が設定されていなければ &false;、
    フィルタリングに失敗したら &null; を返します。
@@ -98,13 +98,12 @@
     <member><function>filter_var</function></member>
     <member><function>filter_input_array</function></member>
     <member><function>filter_var_array</function></member>
-    <member><xref linkend="filter.filters" /></member>
+    <member><xref linkend="filter.filters"/></member>
    </simplelist>
   </para>
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/filter/functions/filter-var-array.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/functions/filter-var-array.xml	2020-11-18 23:14:53 UTC (rev 351435)
+++ phpdoc/ja/trunk/reference/filter/functions/filter-var-array.xml	2020-11-18 23:16:41 UTC (rev 351436)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.filter-var-array" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,9 +10,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>filter_var_array</methodname>
-   <methodparam><type>array</type><parameter>data</parameter></methodparam>
-   <methodparam choice="opt"><type>mixed</type><parameter>definition</parameter></methodparam>
+   <type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>filter_var_array</methodname>
+   <methodparam><type>array</type><parameter>array</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>add_empty</parameter><initializer>&true;</initializer></methodparam>
   </methodsynopsis>
   <para>
@@ -25,7 +25,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>data</parameter></term>
+     <term><parameter>array</parameter></term>
      <listitem>
       <para>
        文字列キーの配列。フィルタリングするデータを保持します。
@@ -33,7 +33,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>definition</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
        引数を定義する配列。配列のキーとして使用できるのは
@@ -153,13 +153,12 @@
     <member><function>filter_input_array</function></member>
     <member><function>filter_var</function></member>
     <member><function>filter_input</function></member>
-    <member><xref linkend="filter.filters" /></member>
+    <member><xref linkend="filter.filters"/></member>
    </simplelist>
   </para>
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/filter/functions/filter-var.xml
===================================================================
--- phpdoc/ja/trunk/reference/filter/functions/filter-var.xml	2020-11-18 23:14:53 UTC (rev 351435)
+++ phpdoc/ja/trunk/reference/filter/functions/filter-var.xml	2020-11-18 23:16:41 UTC (rev 351436)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350788 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: takagi Status: ready -->
 <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.filter-var" xmlns="http://docbook.org/ns/docbook">
@@ -12,9 +12,9 @@
   &reftitle.description;
   <methodsynopsis>
    <type>mixed</type><methodname>filter_var</methodname>
-   <methodparam><type>mixed</type><parameter>variable</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer>FILTER_DEFAULT</initializer></methodparam>
-   <methodparam choice="opt"><type>mixed</type><parameter>options</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>

  </refsect1>
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>variable</parameter></term>
+     <term><parameter>value</parameter></term>
      <listitem>
       <para>
        フィルタリングする値。値をフィルタリングする前に、
@@ -129,13 +129,12 @@
     <member><function>filter_var_array</function></member>
     <member><function>filter_input</function></member>
     <member><function>filter_input_array</function></member>
-    <member><xref linkend="filter.filters" /></member>
+    <member><xref linkend="filter.filters"/></member>
    </simplelist>
   </para>
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.