HTTP_Download::sendArchive()

HTTP_Download::sendArchive() --  Send an archive created on the fly

Synopsis

mixed HTTP_Download::sendArchive (string $name, mixed $files, string [$type = HTTP_DOWNLOAD_TGZ], string [$add_path = ''], string [$strip_path = ''])

Описание

Send an archive created on the fly by Archive_Tar or Archive_Zip.

The parameter $files can be an array of files/directories or a space separated string of files/directories which should be packed to an archive.

The parameter $type can be one of HTTP_DOWNLOAD_TAR, HTTP_DOWNLOAD_TGZ, HTTP_DOWNLOAD_BZ2 and HTTP_DOWNLOAD_ZIP.

Замечание: The usage of this method is deprecated. Use HTTP_Download_Archive::send() instead.

Параметр

Возвращаемое значение

Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Заметка

Эта функция должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ