For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2006 > cvs: phpdoc /en/reference/filter/functions input-get-args.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/functions input-get-args.xml
Antony Dovgal

2006-07-25, 3:57 am

tony2001 Tue Jul 25 08:54:47 2006 UTC

Modified files:
/phpdoc/en/reference/filter/functions input-get-args.xml
Log:
change the docs to conform to the current API


http://cvs.php.net/viewvc.cgi/phpdo...2&diff_format=u
Index: phpdoc/en/reference/filter/functions/input-get-args.xml
diff -u phpdoc/en/reference/filter/functions/input-get-args.xml:1.1 phpdoc/en/reference/filter/functions/input-get-args.xml:1.2
--- phpdoc/en/reference/filter/functions/input-get-args.xml:1.1 Tue May 9 02:07:12 2006
+++ phpdoc/en/reference/filter/functions/input-get-args.xml Tue Jul 25 08:54:47 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.input-get-args">
<refnamediv>
<refname>input_get_args</refname>
@@ -9,8 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>input_get_args</methodname>
- <methodparam><type>array</type><parameter>definition</parameter></methodparam>
<methodparam><type>int</type><parameter>type</parameter></methodparam>
+ <methodparam><type>array</type><parameter>definition</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>data</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
@@ -24,6 +24,17 @@
<para>
<variablelist>
<varlistentry>
+ <term><parameter>type</parameter></term>
+ <listitem>
+ <para>
+ One of <constant>INPUT_GET</constant>, <constant>INPUT_POST</constant>,
+ <constant>INPUT_COOKIE</constant>, <constant>INPUT_SERVER</constant>,
+ <constant>INPUT_ENV</constant>, <constant>INPUT_SESSION</constant>, or
+ <constant>INPUT_DATA</constant>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><parameter>definition</parameter></term>
<listitem>
<para>
@@ -40,17 +51,6 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>type</parameter></term>
- <listitem>
- <para>
- One of <constant>INPUT_GET</constant>, <constant>INPUT_POST</constant>,
- <constant>INPUT_COOKIE</constant>, <constant>INPUT_SERVER</constant>,
- <constant>INPUT_ENV</constant>, <constant>INPUT_SESSION</constant>, or
- <constant>INPUT_DATA</constant>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>data</parameter></term>
<listitem>
<para>
@@ -106,8 +106,8 @@

);

-//$myinputs = input_get_args($args, INPUT_POST);
-$myinputs = input_get_args($args, INPUT_DATA, $data);
+//$myinputs = input_get_args(INPUT_POST, $args);
+$myinputs = input_get_args(INPUT_DATA, $args, $data);

var_dump($myinputs);
echo "\n";
Sponsored Links







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

Copyright 2008 codecomments.com