JArchiveZip
ZIP format adapter for the JArchive class
The ZIP compression code is partially based on code from: Eric Mueller <[email protected]> http://www.zend.com/codex.php?id=535&single=1
Deins125 <[email protected]> http://www.zend.com/codex.php?id=470&single=1
The ZIP compression date code is partially based on code from Peter Listiak <[email protected]>
This class is inspired from and draws heavily in code and concept from the Compress package of The Horde Project <http://www.horde.org>
Located in /joomla/filesystem/archive/zip.php (line 43)
JObject (Subpackage Base) JArchiveZip (Subpackage FileSystem)
End of central directory record.
Beginning of central directory record.
ZIP file data buffer
Beginning of file contents.
ZIP file metadata array
0x0 => 'None',
0x1 => 'Shrunk',
0x2 => 'Super Fast',
0x3 => 'Fast',
0x4 => 'Normal',
0x5 => 'Maximum',
0x6 => 'Imploded',
0x8 => 'Deflated'
) (line 49)
ZIP compression methods.
Checks to see if the data is a valid ZIP file.
- string $data: ZIP archive data buffer
- &$data
Create a ZIP compressed file from an array of file data.
- string $archive: Path to save archive
- array $files: Array of files to add to archive
- array $options: Compression options [unused]
Extract a ZIP compressed file to a given path
- string $archive: Path to ZIP archive to extract
- string $destination: Path to extract archive into
- array $options: Extraction options [unused]
Method to determine if the server has native zip support for faster handling
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:33:38 +0000 by phpDocumentor 1.3.1