Documentation
ZipFile (extends File)
usage
ZipFile is a Sushee PHP class intended to create Zip archive.
Has the same methods as the File object, plus specific methods to handle archiving.
exemples
include('../Kernel/common/file.class.php');
$zip = new ZipFile();
$picture = new File('/contact/1857/picture.jpg');
$cv = new File('/contact/1857/cv.doc');
$zip->add($picture);
$zip->add($cv);
$zip->compress();
$zip->forceDownload();