cvs: peardoc /en/package/http/http-download sendarchive.xml
| From: | Michael Wallner | Date: | Tue, 25 May 2004 18:10:23 +0000 |
| Subject: | cvs: peardoc /en/package/http/http-download sendarchive.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4100@lists.php.net to get a copy of this message | ||
mike Tue May 25 14:10:23 2004 EDT
Modified files:
/peardoc/en/package/http/http-download sendarchive.xml
Log:
* add missing parameters for sendArchive()
http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/sendarchive.xml?r1=1.1&r2=1.2&ty=u
Index: peardoc/en/package/http/http-download/sendarchive.xml
diff -u peardoc/en/package/http/http-download/sendarchive.xml:1.1
peardoc/en/package/http/http-download/sendarchive.xml:1.2
--- peardoc/en/package/http/http-download/sendarchive.xml:1.1 Sat Mar 20 12:38:16 2004
+++ peardoc/en/package/http/http-download/sendarchive.xml Tue May 25 14:10:23 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.http.http-download.sendarchive">
<refnamediv>
<refname><function>HTTP_Download::sendArchive</function></refname>
@@ -28,6 +28,18 @@
<optional>$type = HTTP_DOWNLOAD_TGZ</optional>
</parameter>
</paramdef>
+ <paramdef>
+ string
+ <parameter>
+ <optional>$add_path = ''</optional>
+ </parameter>
+ </paramdef>
+ <paramdef>
+ string
+ <parameter>
+ <optional>$strip_path = ''</optional>
+ </parameter>
+ </paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -73,6 +85,24 @@
</parameter>
- the format of the archive (TAR, TGZ, or BZ2)
</para>
+ </listitem>
+ <listitem>
+ <para>
+ string
+ <parameter>
+ <optional>$add_path = ''</optional>
+ </parameter>
+ - path that should be prepended to the files
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ string
+ <parameter>
+ <optional>$strip_path = ''</optional>
+ </parameter>
+ - path that should be stripped from the files
+ </para>
</listitem>
</itemizedlist>
</para>