This project has moved. For the latest updates, please go here.

API - Methods - Zip

Purpose:
  • Compresses intermedate files into a zip archive to save space and have less intermediate files.

Syntax:
  • $lsa->Zip(indir, inext);
  • $lsa->Zip(indir, inext, leave);

Where:
  • indir is the directory of files to zip.
  • inext is the extension of files to zip (for example '*.lsa').
  • leave is boolean value. If true the files are added to the zip file, if false files are moved into the zip file and thus deleted from the filesystem.

Returns:
  • Nothing.

Notes:
  • The stepcount property is unchanged but used to generate the zip filename.

Last edited Jan 14, 2010 at 1:58 PM by wvd_vegt, version 2

Comments

No comments yet.