For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2006 > cvs: phpdoc /en/reference/filter configure.xml constants.xml ini.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/filter configure.xml constants.xml ini.xml
Pierre-Alain Joye

2006-10-19, 9:56 pm

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/phpdo...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/phpdo...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/phpdo...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>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com