API16

JArchiveZip

From Joomla! Documentation

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in[edit]

libraries/joomla/filesystem/archive/zip.php

Methods[edit]

Method name Description
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
checkZipData Checks to see if the data is a valid ZIP file.

Importing[edit]

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



Examples[edit]

Code Examples[edit]