diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-04-27 16:06:25 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-04-27 16:06:25 +0200 |
commit | 86611db279c17cf9b3d6ad8732a1c840cb833148 (patch) | |
tree | 9b1a0fa5047b728a9355eada3d28d6d198a4bf9b /system/libraries/Zip.php | |
parent | 7183ff91112e540315dffdef2cea0d6d491cdc2e (diff) |
Fixed Cart, Migration, Parser and Zip libraries
Diffstat (limited to 'system/libraries/Zip.php')
-rw-r--r-- | system/libraries/Zip.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index 80438546b..86d0787b2 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -42,13 +42,53 @@ */ class CI_Zip { + /** + * Zip data in string form + * + * @var string + */ public $zipdata = ''; + + /** + * Zip data for a directory in string form + * + * @var string + */ public $directory = ''; + + /** + * Number of files/folder in zip file + * + * @var int + */ public $entries = 0; + + /** + * Number of files in zip + * + * @var int + */ public $file_num = 0; + + /** + * relative offset of local header + * + * @var int + */ public $offset = 0; + + /** + * Reference to time at init + * + * @var int + */ public $now; + /** + * Initialize zip compression class + * + * @return void + */ public function __construct() { $this->now = time(); |