API17:JArchiveZip
From Joomla! Documentation
(Difference between revisions)
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
| Line 81: | Line 81: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JArchiveZip]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JArchiveZip]]</noinclude> |
Revision as of 13:28, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JArchiveZip
Description
Description:JArchiveZip [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| 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. |
| protected | _addToZIPFile | Adds a "file" to the ZIP archive. |
| protected | _createZIPFile | Creates the ZIP file. |
| protected | _extract | Extract a ZIP compressed file to a given path using a php based algorithm that only requires zlib support. |
| protected | _extractNative | Extract a ZIP compressed file to a given path using native php api calls for speed. |
| protected | _getFileData | Returns the file data for a file by offsest in the ZIP archive. |
| protected | _getZipInfo | Get the list of files/data from a ZIP archive buffer. |
| protected | _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). |
- Defined in libraries/joomla/filesystem/archive/zip.php
- Extends JObject
Importing
jimport( 'joomla.filesystem.archive.zip' );
See also
-
JArchiveZip source code on BitBucket
-
Subpackage Filesystem
- Other versions of JArchiveZip
SeeAlso:JArchiveZip [Edit See Also]
User contributed notes
<CodeExamplesForm />
