API17

API17:JArchiveZip

From Joomla! Documentation

Revision as of 20:44, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template:Description:JArchiveZip

Defined in

libraries/joomla/filesystem/archive/zip.php

Subpackage

Filesystem

Extends

JObject

Extended by

Methods

Method name Description
checkZipData Checks to see if the data is a valid ZIP file.
create Create a ZIP compressed file from an array of file data.
extract Extract a ZIP compressed file to a given path.
hasNativeSupport Method to determine if the server has native zip support for faster handling.
_addToZIPFile Adds a "file" to the ZIP archive.
_createZIPFile Creates the ZIP file.
_extract Extract a ZIP compressed file to a given path using a php based algorithm that only requires zlib support.
_extractNative Extract a ZIP compressed file to a given path using native php api calls for speed.
_getFileData Returns the file data for a file by offsest in the ZIP archive.
_getZipInfo Get the list of files/data from a ZIP archive buffer.
_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).

Importing

jimport( 'joomla.filesystem.archive.zip' );

See also

Template:SeeAlso:JArchiveZip [Edit See Also]

Examples

<CodeExamplesForm />