JArchiveZip/1.5
From Joomla! Documentation
JArchiveZip
Description
Description:JArchiveZip [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | _addToZIPFile | Adds a "file" to the ZIP archive. |
| public | _createZIPFile | Creates the ZIP file. |
| public | _extract | Extract a ZIP compressed file to a given path using a php based algorithm that only requires zlib support. |
| public | _extractNative | Extract a ZIP compressed file to a given path using native php api calls for speed. |
| public | _getFileData | Returns the file data for a file by offsest in the ZIP archive. |
| public | _getZipInfo | Get the list of files/data from a ZIP archive buffer. |
| public | _unix2DOSTime | Converts a UNIX timestamp to a 4-byte DOS date and time format (date in high 2-bytes, time in low 2-bytes allowing magnitude comparison). |
| public | checkZipData | Checks to see if the data is a valid ZIP file. |
| public | create | Create a ZIP compressed file from an array of file data. |
| public | extract | Extract a ZIP compressed file to a given path. |
| public | hasNativeSupport | Method to determine if the server has native zip support for faster handling. |
- Defined in libraries/joomla/filesystem/archive/zip.php
- Extends JObject
Importing
jimport( 'joomla.filesystem.archive.zip' );
See also
-
JArchiveZip on api.joomla.org
-
JArchiveZip source code on JoomlaCode
-
Subpackage Filesystem
- Other versions of JArchiveZip
SeeAlso:JArchiveZip [Edit See Also]
User contributed notes
<CodeExamplesForm />