cvs: peardoc /en/package/http/http-download guesscontenttype.xml intro.xml send.xml sendarchive.xml setcontenttype.xml setfile.xml setgzip.xml
setparams.xml setresource.xml staticsend.xml
| From: | Michael Wallner | Date: | Sat, 20 Mar 2004 17:38:17 +0000 |
| Subject: | cvs: peardoc /en/package/http/http-download guesscontenttype.xml intro.xml send.xml sendarchive.xml setcontenttype.xml setfile.xml setgzip.xml setparams.xml setresource.xml staticsend.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3042@lists.php.net to get a copy of this message | ||
mike Sat Mar 20 12:38:17 2004 EDT
Added files:
/peardoc/en/package/http/http-download sendarchive.xml
Modified files:
/peardoc/en/package/http/http-download guesscontenttype.xml
intro.xml send.xml
setcontenttype.xml
setfile.xml setgzip.xml
setparams.xml
setresource.xml
staticsend.xml
Log:
* added HTTP_Download::sendArchive()
* removed all "throws" sections as they are not applicable
* rephrased "hidden downloads" a bit
http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/guesscontenttype.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/http/http-download/guesscontenttype.xml diff -u peardoc/en/package/http/http-download/guesscontenttype.xml:1.4 peardoc/en/package/http/http-download/guesscontenttype.xml:1.5 --- peardoc/en/package/http/http-download/guesscontenttype.xml:1.4 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/guesscontenttype.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.http.http-download.guesscontenttype"> <refnamediv> <refname><function>HTTP_Download::guessContentType</function></refname> @@ -45,13 +45,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.guesscontenttype.throws"> - &title.throws; - <para> - Throws <classname>PearError</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.guesscontenttype.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/intro.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/http/http-download/intro.xml diff -u peardoc/en/package/http/http-download/intro.xml:1.1 peardoc/en/package/http/http-download/intro.xml:1.2 --- peardoc/en/package/http/http-download/intro.xml:1.1 Mon Nov 24 13:49:33 2003 +++ peardoc/en/package/http/http-download/intro.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.http.http-download.intro"> <refnamediv> <refname>Intro</refname> @@ -8,9 +8,11 @@ <refsect1 id="package.http.http-download.intro.details"> <title>Introduction</title> <para> - With this package you can handle (hidden) downloads. - It supports partial downloads, resuming and sending - raw data ie. from database BLOBs. + With this package you can easily handle (hidden) downloads. + Hidden means not accessible by the public - for + instance if you want to restrict access to particular downloads. + It supports HTTP compression, caching and partial downloads, + resuming and sending raw data, for example from database BLOBs. </para> <para> <emphasis>ATTENTION:</emphasis> @@ -21,7 +23,7 @@ <refsect2 id="package.http.http-download.intro.details.examples"> <title>Usage Examples:</title> <para> - Please have a look at the following examples: + Have a look at the following examples: </para> <example id="package.http.http-download.intro.details.examples.static"> <title>Static send:</title> http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/send.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/send.xml diff -u peardoc/en/package/http/http-download/send.xml:1.3 peardoc/en/package/http/http-download/send.xml:1.4 --- peardoc/en/package/http/http-download/send.xml:1.3 Sun Oct 5 04:42:39 2003 +++ peardoc/en/package/http/http-download/send.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.send"> <refnamediv> <refname><function>HTTP_Download::send</function></refname> @@ -41,14 +41,7 @@ <refsect1 id="package.http.http-download.send.return"> &title.returns; <para> - <emphasis>return</emphasis> mixed - true on success or PEAR_Error - </para> - </refsect1> - - <refsect1 id="package.http.http-download.send.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> PEAR_Error + &return.success-pearerror; </para> </refsect1> http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setcontenttype.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setcontenttype.xml diff -u peardoc/en/package/http/http-download/setcontenttype.xml:1.3 peardoc/en/package/http/http-download/setcontenttype.xml:1.4 --- peardoc/en/package/http/http-download/setcontenttype.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setcontenttype.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setcontenttype"> <refnamediv> <refname><function>HTTP_Download::setContentType</function></refname> @@ -78,13 +78,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setcontenttype.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.setcontenttype.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setfile.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setfile.xml diff -u peardoc/en/package/http/http-download/setfile.xml:1.3 peardoc/en/package/http/http-download/setfile.xml:1.4 --- peardoc/en/package/http/http-download/setfile.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setfile.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setfile"> <refnamediv> <refname><function>HTTP_Download::setFile</function></refname> @@ -67,13 +67,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setfile.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.setfile.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setgzip.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setgzip.xml diff -u peardoc/en/package/http/http-download/setgzip.xml:1.3 peardoc/en/package/http/http-download/setgzip.xml:1.4 --- peardoc/en/package/http/http-download/setgzip.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setgzip.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setgzip"> <refnamediv> <refname><function>HTTP_Download::setGzip</function></refname> @@ -57,13 +57,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setgzip.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname> - </para> - </refsect1> - <refsect1 id="package.http.http-download.setgzip.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setparams.xml?r1=1.5&r2=1.6&ty=u Index: peardoc/en/package/http/http-download/setparams.xml diff -u peardoc/en/package/http/http-download/setparams.xml:1.5 peardoc/en/package/http/http-download/setparams.xml:1.6 --- peardoc/en/package/http/http-download/setparams.xml:1.5 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setparams.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.http.http-download.setparams"> <refnamediv> <refname><function>HTTP_Download::setParams</function></refname> @@ -168,13 +168,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setparams.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname> - </para> - </refsect1> - <refsect1 id="package.http.http-download.setparams.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setresource.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setresource.xml diff -u peardoc/en/package/http/http-download/setresource.xml:1.3 peardoc/en/package/http/http-download/setresource.xml:1.4 --- peardoc/en/package/http/http-download/setresource.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setresource.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setresource"> <refnamediv> <refname><function>HTTP_Download::setResource</function></refname> @@ -62,13 +62,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setresource.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.setresource.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/staticsend.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/http/http-download/staticsend.xml diff -u peardoc/en/package/http/http-download/staticsend.xml:1.4 peardoc/en/package/http/http-download/staticsend.xml:1.5 --- peardoc/en/package/http/http-download/staticsend.xml:1.4 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/staticsend.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.http.http-download.staticsend"> <refnamediv> <refname><function>HTTP_Download::staticSend</function></refname> @@ -133,13 +133,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.staticsend.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname> - </para> - </refsect1> - <refsect1 id="package.http.http-download.staticsend.note"> &title.note; ¬e.shouldstatic; http://cvs.php.net/co.php/peardoc/en/package/http/http-download/sendarchive.xml?r=1.1&p=1 Index: peardoc/en/package/http/http-download/sendarchive.xml +++ peardoc/en/package/http/http-download/sendarchive.xml <!-- $Revision: 1.1 $ --> <refentry id="package.http.http-download.sendarchive"> <refnamediv> <refname><function>HTTP_Download::sendArchive</function></refname> <refpurpose> Send an archive created on the fly </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef> mixed <function>HTTP_Download::sendArchive</function> </funcdef> <paramdef> string <parameter>$name</parameter> </paramdef> <paramdef> mixed <parameter>$files</parameter> </paramdef> <paramdef> string <parameter> <optional>$type = HTTP_DOWNLOAD_TGZ</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.http.http-download.sendarchive.desc"> &title.desc; <para> Send an archive created on the fly by <link linkend="package.filesystem.archive-tar"> <classname>Archive_Tar</classname> </link>. </para> <para> The parameter <varname>$files</varname> can be an array of files/directories or a space separated string of files/directories which should be packed to an archive. </para> </refsect1> <refsect1 id="package.http.http-download.sendarchive.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> string <parameter>$name</parameter> - the name the archive should have </para> </listitem> <listitem> <para> mixed <parameter>$files</parameter> - list of files/directories </para> </listitem> <listitem> <para> string <parameter> <optional>$type = <constant>HTTP_DOWNLOAD_TGZ</constant></optional> </parameter> - the format of the archive (TAR, TGZ, or BZ2) </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.http.http-download.sendarchive.return"> &title.returns; <para> &return.success-pearerror; </para> </refsect1> <refsect1 id="package.http.http-download.sendarchive.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/guesscontenttype.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/http/http-download/guesscontenttype.xml diff -u peardoc/en/package/http/http-download/guesscontenttype.xml:1.4 peardoc/en/package/http/http-download/guesscontenttype.xml:1.5 --- peardoc/en/package/http/http-download/guesscontenttype.xml:1.4 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/guesscontenttype.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.http.http-download.guesscontenttype"> <refnamediv> <refname><function>HTTP_Download::guessContentType</function></refname> @@ -45,13 +45,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.guesscontenttype.throws"> - &title.throws; - <para> - Throws <classname>PearError</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.guesscontenttype.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/intro.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/http/http-download/intro.xml diff -u peardoc/en/package/http/http-download/intro.xml:1.1 peardoc/en/package/http/http-download/intro.xml:1.2 --- peardoc/en/package/http/http-download/intro.xml:1.1 Mon Nov 24 13:49:33 2003 +++ peardoc/en/package/http/http-download/intro.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.http.http-download.intro"> <refnamediv> <refname>Intro</refname> @@ -8,9 +8,11 @@ <refsect1 id="package.http.http-download.intro.details"> <title>Introduction</title> <para> - With this package you can handle (hidden) downloads. - It supports partial downloads, resuming and sending - raw data ie. from database BLOBs. + With this package you can easily handle (hidden) downloads. + Hidden means not accessible by the public - for + instance if you want to restrict access to particular downloads. + It supports HTTP compression, caching and partial downloads, + resuming and sending raw data, for example from database BLOBs. </para> <para> <emphasis>ATTENTION:</emphasis> @@ -21,7 +23,7 @@ <refsect2 id="package.http.http-download.intro.details.examples"> <title>Usage Examples:</title> <para> - Please have a look at the following examples: + Have a look at the following examples: </para> <example id="package.http.http-download.intro.details.examples.static"> <title>Static send:</title> http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/send.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/send.xml diff -u peardoc/en/package/http/http-download/send.xml:1.3 peardoc/en/package/http/http-download/send.xml:1.4 --- peardoc/en/package/http/http-download/send.xml:1.3 Sun Oct 5 04:42:39 2003 +++ peardoc/en/package/http/http-download/send.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.send"> <refnamediv> <refname><function>HTTP_Download::send</function></refname> @@ -41,14 +41,7 @@ <refsect1 id="package.http.http-download.send.return"> &title.returns; <para> - <emphasis>return</emphasis> mixed - true on success or PEAR_Error - </para> - </refsect1> - - <refsect1 id="package.http.http-download.send.throws"> - &title.throws; - <para> - <emphasis>throws</emphasis> PEAR_Error + &return.success-pearerror; </para> </refsect1> http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setcontenttype.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setcontenttype.xml diff -u peardoc/en/package/http/http-download/setcontenttype.xml:1.3 peardoc/en/package/http/http-download/setcontenttype.xml:1.4 --- peardoc/en/package/http/http-download/setcontenttype.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setcontenttype.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setcontenttype"> <refnamediv> <refname><function>HTTP_Download::setContentType</function></refname> @@ -78,13 +78,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setcontenttype.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.setcontenttype.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setfile.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setfile.xml diff -u peardoc/en/package/http/http-download/setfile.xml:1.3 peardoc/en/package/http/http-download/setfile.xml:1.4 --- peardoc/en/package/http/http-download/setfile.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setfile.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setfile"> <refnamediv> <refname><function>HTTP_Download::setFile</function></refname> @@ -67,13 +67,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setfile.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.setfile.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setgzip.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setgzip.xml diff -u peardoc/en/package/http/http-download/setgzip.xml:1.3 peardoc/en/package/http/http-download/setgzip.xml:1.4 --- peardoc/en/package/http/http-download/setgzip.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setgzip.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setgzip"> <refnamediv> <refname><function>HTTP_Download::setGzip</function></refname> @@ -57,13 +57,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setgzip.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname> - </para> - </refsect1> - <refsect1 id="package.http.http-download.setgzip.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setparams.xml?r1=1.5&r2=1.6&ty=u Index: peardoc/en/package/http/http-download/setparams.xml diff -u peardoc/en/package/http/http-download/setparams.xml:1.5 peardoc/en/package/http/http-download/setparams.xml:1.6 --- peardoc/en/package/http/http-download/setparams.xml:1.5 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setparams.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.http.http-download.setparams"> <refnamediv> <refname><function>HTTP_Download::setParams</function></refname> @@ -168,13 +168,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setparams.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname> - </para> - </refsect1> - <refsect1 id="package.http.http-download.setparams.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setresource.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/http/http-download/setresource.xml diff -u peardoc/en/package/http/http-download/setresource.xml:1.3 peardoc/en/package/http/http-download/setresource.xml:1.4 --- peardoc/en/package/http/http-download/setresource.xml:1.3 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/setresource.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.http.http-download.setresource"> <refnamediv> <refname><function>HTTP_Download::setResource</function></refname> @@ -62,13 +62,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.setresource.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname>. - </para> - </refsect1> - <refsect1 id="package.http.http-download.setresource.note"> &title.note; ¬e.notstatic; http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/staticsend.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/en/package/http/http-download/staticsend.xml diff -u peardoc/en/package/http/http-download/staticsend.xml:1.4 peardoc/en/package/http/http-download/staticsend.xml:1.5 --- peardoc/en/package/http/http-download/staticsend.xml:1.4 Mon Nov 10 10:42:22 2003 +++ peardoc/en/package/http/http-download/staticsend.xml Sat Mar 20 12:38:16 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.http.http-download.staticsend"> <refnamediv> <refname><function>HTTP_Download::staticSend</function></refname> @@ -133,13 +133,6 @@ </para> </refsect1> - <refsect1 id="package.http.http-download.staticsend.throws"> - &title.throws; - <para> - Throws <classname>PEAR_Error</classname> - </para> - </refsect1> - <refsect1 id="package.http.http-download.staticsend.note"> &title.note; ¬e.shouldstatic; http://cvs.php.net/co.php/peardoc/en/package/http/http-download/sendarchive.xml?r=1.1&p=1 Index: peardoc/en/package/http/http-download/sendarchive.xml +++ peardoc/en/package/http/http-download/sendarchive.xml <!-- $Revision: 1.1 $ --> <refentry id="package.http.http-download.sendarchive"> <refnamediv> <refname><function>HTTP_Download::sendArchive</function></refname> <refpurpose> Send an archive created on the fly </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef> mixed <function>HTTP_Download::sendArchive</function> </funcdef> <paramdef> string <parameter>$name</parameter> </paramdef> <paramdef> mixed <parameter>$files</parameter> </paramdef> <paramdef> string <parameter> <optional>$type = HTTP_DOWNLOAD_TGZ</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.http.http-download.sendarchive.desc"> &title.desc; <para> Send an archive created on the fly by <link linkend="package.filesystem.archive-tar"> <classname>Archive_Tar</classname> </link>. </para> <para> The parameter <varname>$files</varname> can be an array of files/directories or a space separated string of files/directories which should be packed to an archive. </para> </refsect1> <refsect1 id="package.http.http-download.sendarchive.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> string <parameter>$name</parameter> - the name the archive should have </para> </listitem> <listitem> <para> mixed <parameter>$files</parameter> - list of files/directories </para> </listitem> <listitem> <para> string <parameter> <optional>$type = <constant>HTTP_DOWNLOAD_TGZ</constant></optional> </parameter> - the format of the archive (TAR, TGZ, or BZ2) </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.http.http-download.sendarchive.return"> &title.returns; <para> &return.success-pearerror; </para> </refsect1> <refsect1 id="package.http.http-download.sendarchive.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->