add a "logical" file to the zip archive
void
addContentFile
(string $zipFileName, string $content, integer $filetime)
-
string
$zipFileName: the path of the file into the zip archive
-
string
$content: the content of the file
-
integer
$filetime: the time modification of the file
adds the content of a directory to the zip archive
void
addDir
(string $path, [ $zipDirPath = ''], [ $recursive = false])
-
string
$path: the path of the physical directory you want to add
-
$zipDirPath
-
$recursive
adds an empty dir to the zip file
void
addEmptyDir
( $name, $time)
adds a physical file to the zip archive
void
addFile
(string $filename, [ $zipFileName = ''], string $zipPath)
-
string
$filename: the path of the physical file you want to add
-
string
$zipPath: the path of the file inside the zip archive
-
$zipFileName
create the contenu of the zip file
string
getContent
()
void
_addCentralDirEntry
( $name, $info, [ $isDir = false])
void
_getDOSTimeFormat
( $timestamp)