Fix protos

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308225 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2011-02-10 21:10:07 +00:00
parent 084ac3609a
commit 4e381f1870
15 changed files with 16 additions and 16 deletions

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<modifier>public</modifier>
<type>array</type><methodname>HttpRequest::getResponseCookies</methodname>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>array</type><parameter>allowed_extras</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<modifier>public</modifier>
<type>bool</type><methodname>HttpRequest::setPutFile</methodname>
<methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>file</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<modifier>protected</modifier>
<type>bool</type><methodname>HttpRequestPool::socketSelect</methodname>
<void/>
<methodparam choice="opt"><type>float</type><parameter>timeout</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
</refsect1>

View file

@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>http_match_modified</methodname>
<methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>-1</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>for_range</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>

View file

@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>http_persistent_handles_ident</methodname>
<methodparam><type>string</type><parameter>ident</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>ident</parameter></methodparam>
</methodsynopsis>
<para>
Query or define the ident of persistent handles.

View file

@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>http_head</methodname>
<methodparam choice="opt"><type>string</type><parameter>url</parameter></methodparam>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>http_post_data</methodname>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>http_post_fields</methodname>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>data</parameter></methodparam>
<methodparam><type>array</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>files</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>http_put_data</methodname>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>http_put_file</methodname>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam>
<methodparam><type>string</type><parameter>file</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>http_put_stream</methodname>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>http_request</methodname>
<methodparam><type>int</type><parameter>method</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>url</parameter></methodparam>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>body</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter role="reference">info</parameter></methodparam>

View file

@ -9,11 +9,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>http_redirect</methodname>
<type>bool</type><methodname>http_redirect</methodname>
<methodparam choice="opt"><type>string</type><parameter>url</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>params</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>session</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>status</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>status</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Redirect to the given url.

View file

@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>http_throttle</methodname>
<methodparam choice="opt"><type>float</type><parameter>sec</parameter></methodparam>
<methodparam><type>float</type><parameter>sec</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>bytes</parameter><initializer>40960</initializer></methodparam>
</methodsynopsis>
<para>

View file

@ -12,7 +12,7 @@
<type>string</type><methodname>http_build_str</methodname>
<methodparam><type>array</type><parameter>query</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>arg_separator</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>arg_separator</parameter><initializer>ini_get("arg_separator.output")</initializer></methodparam>
</methodsynopsis>
<para>
Opponent to parse_str().