cvs: peardoc /en/package/http/http-download send.xml
| From: | Michael Wallner | Date: | Thu, 16 Dec 2004 16:49:29 +0000 |
| Subject: | cvs: peardoc /en/package/http/http-download send.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5278@lists.php.net to get a copy of this message | ||
mike Thu Dec 16 11:49:29 2004 EDT
Modified files:
/peardoc/en/package/http/http-download send.xml
Log:
* update parameter list and cases where PEAR_Errors are returned
http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/send.xml?r1=1.4&r2=1.5&ty=u
Index: peardoc/en/package/http/http-download/send.xml
diff -u peardoc/en/package/http/http-download/send.xml:1.4
peardoc/en/package/http/http-download/send.xml:1.5
--- peardoc/en/package/http/http-download/send.xml:1.4 Sat Mar 20 12:38:16 2004
+++ peardoc/en/package/http/http-download/send.xml Thu Dec 16 11:49:29 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.http.http-download.send">
<refnamediv>
<refname><function>HTTP_Download::send</function></refname>
@@ -12,7 +12,12 @@
mixed
<function>HTTP_Download::send</function>
</funcdef>
- <paramdef />
+ <paramdef>
+ bool
+ <parameter>
+ <optional>$autoSetContentDisposition = true</optional>
+ </parameter>
+ </paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -31,8 +36,23 @@
<listitem>
<simpara>HTTP Range was invalid</simpara>
</listitem>
+ </itemizedlist>
+ </para>
+ </refsect1>
+
+ <refsect1 id="package.http.http-download.sendarchive.parameter">
+ &title.param;
+ <para>
+ <itemizedlist>
<listitem>
- <simpara>Download was 'not modified since'</simpara>
+ <para>
+ bool
+ <parameter>
+ <optional>$autoSetContentDisposition = true</optional>
+ </parameter>
+ - automatically sets the Content-Disposition to
+ HTTP_DOWNLOAD_ATTACHMENT header if not already set
+ </para>
</listitem>
</itemizedlist>
</para>