pajoye          Fri Oct 20 01:48:13 2006 UTC

  Modified files:              
    /phpdoc/en/reference/filter configure.xml constants.xml ini.xml 
  Log:
  - filter api shakeup 2/2
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filter/configure.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/filter/configure.xml
diff -u phpdoc/en/reference/filter/configure.xml:1.1 
phpdoc/en/reference/filter/configure.xml:1.2
--- phpdoc/en/reference/filter/configure.xml:1.1        Sat Mar 11 21:19:27 2006
+++ phpdoc/en/reference/filter/configure.xml    Fri Oct 20 01:48:13 2006
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <section id="filter.installation">
  &reftitle.install;
  <para>
   A short installation note: just type
   <screen>
-$ pear install filter
+$ pecl install filter
   </screen>
   in your console.
  </para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filter/constants.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/filter/constants.xml
diff -u phpdoc/en/reference/filter/constants.xml:1.2 
phpdoc/en/reference/filter/constants.xml:1.3
--- phpdoc/en/reference/filter/constants.xml:1.2        Tue May  9 02:07:12 2006
+++ phpdoc/en/reference/filter/constants.xml    Fri Oct 20 01:48:13 2006
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. 
-->
 <section id="filter.constants">
  &reftitle.constants;
@@ -68,17 +68,19 @@
    <listitem>
     <simpara>
      <link linkend="reserved.variables.session">SESSION</link> variables.
+    (not implemented yet)
     </simpara>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>
-    <constant>INPUT_DATA</constant>
+    <constant>INPUT_REQUEST</constant>
      (<type>integer</type>)
    </term>
    <listitem>
     <simpara>
-     User-defined set of variables.
+     <link linkend="reserved.variables.request">REQUEST</link> variables.
+    (not implemented yet)
     </simpara>
    </listitem>
   </varlistentry>
@@ -95,6 +97,50 @@
   </varlistentry>
   <varlistentry>
    <term>
+    <constant>FILTER_REQUIRE_SCALAR</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+      Flag used to require scalar as input
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry>
+   <term>
+    <constant>FILTER_REQUIRE_ARRAY</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+      Require an array as input. 
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry>
+   <term>
+    <constant>FILTER_FORCE_ARRAY</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Always returns an array.
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry>
+   <term>
+    <constant>FILTER_NULL_ON_FAILURE</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Use NULL instead of FALSE on failure. 
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry>
+   <term>
     <constant>FILTER_VALIDATE_INT</constant>
      (<type>integer</type>)
    </term>
@@ -304,30 +350,6 @@
   </varlistentry>
   <varlistentry>
    <term>
-    <constant>FILTER_FLAG_SCALAR</constant>
-     (<type>integer</type>)
-   </term>
-   <listitem>
-    <simpara>
-     Allow scalar types (non-<type>array</type>) only in filter.
-     Currently used by <function>input_get_args</function>.
-    </simpara>
-   </listitem>
-  </varlistentry>
-  <varlistentry>
-   <term>
-    <constant>FILTER_FLAG_ARRAY</constant>
-     (<type>integer</type>)
-   </term>
-   <listitem>
-    <simpara>
-     Only allow <type>array</type> type in filter.
-     Currently used by <function>input_get_args</function>.
-    </simpara>
-   </listitem>
-  </varlistentry>
-  <varlistentry>
-   <term>
     <constant>FILTER_FLAG_ALLOW_OCTAL</constant>
      (<type>integer</type>)
    </term>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filter/ini.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/filter/ini.xml
diff -u phpdoc/en/reference/filter/ini.xml:1.5 
phpdoc/en/reference/filter/ini.xml:1.6
--- phpdoc/en/reference/filter/ini.xml:1.5      Wed May 10 08:09:02 2006
+++ phpdoc/en/reference/filter/ini.xml  Fri Oct 20 01:48:13 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <section id="filter.configuration">
  &reftitle.runtime;
  &extension.runtime;
@@ -46,7 +46,7 @@
    <listitem>
     <para>
      Filter all $_GET, $_POST, $_COOKIE and $_REQUEST data by this filter.
-     Original data can be accessed through <function>input_get</function>.
+     Original data can be accessed through <function>filter_input</function>.
     </para>
    </listitem>
   </varlistentry>

Reply via email to