Documentation TYPO3 par Ameos |
Public Member Functions | |
unix2DosTime ($unixtime=0) | |
addFile ($data, $name, $time=0) | |
file () | |
Public Attributes | |
$datasec = array() | |
$ctrl_dir = array() | |
$eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00" | |
$old_offset = 0 |
Based on :
http://www.zend.com/codex.php?id=535&single=1 By Eric Mueller <eric@themepark.com>
http://www.zend.com/codex.php?id=470&single=1 by Denis125 <webmaster@atlant.ru>
a patch from Peter Listiak <mlady@users.sourceforge.net> for last modified date and time of the compressed file
Official ZIP file format: http://www.pkware.com/appnote.txt
public
Definition at line 25 of file zip.lib.php.
|
Adds "file" to archive
Definition at line 92 of file zip.lib.php. References unix2DosTime(). |
|
Dumps out file
Definition at line 169 of file zip.lib.php. |
|
Converts an Unix timestamp to a four byte DOS date and time format (date in high two bytes, time in low two bytes allowing magnitude comparison).
Definition at line 66 of file zip.lib.php. Referenced by addFile(). |