added todo with url to php class allowing to stream a zip file of arbitrary size

This commit is contained in:
Ralf Becker 2015-06-11 12:46:27 +00:00
parent 821ba63c02
commit 14ccc8f0b5
2 changed files with 2 additions and 1 deletions

View File

@ -1418,7 +1418,7 @@ class Vfs extends Vfs\StreamWrapper
* @param array $_files List of files to include in the zip * @param array $_files List of files to include in the zip
* @param string $name optional Zip file name. If not provided, it will be determined automatically from the files * @param string $name optional Zip file name. If not provided, it will be determined automatically from the files
* *
* @return undefined * @todo use https://github.com/maennchen/ZipStream-PHP to not assamble all files in memmory
*/ */
public static function download_zip(Array $_files, $name = false) public static function download_zip(Array $_files, $name = false)
{ {

View File

@ -883,6 +883,7 @@ class db_backup
* Backup all data in the form of a (compressed) csv file * Backup all data in the form of a (compressed) csv file
* *
* @param f resource file opened with fopen for writing * @param f resource file opened with fopen for writing
* @todo use https://github.com/maennchen/ZipStream-PHP to not assamble all files in memmory
*/ */
function backup($f) function backup($f)
{ {