cvs: phpdoc /en/reference/filter/functions input-get-args.xml

From: Date: Tue, 25 Jul 2006 08:54:47 +0000
Subject: cvs: phpdoc /en/reference/filter/functions input-get-args.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373583@lists.php.net to get a copy of this message
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/phpdoc/en/reference/filter/functions/input-get-args.xml?r1=1.1&r2=1.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";

« previous php.doc (#969373583) next »