Actions

API15

Difference between revisions of "JArchiveZip"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JArchiveZip}} ===Defined in==...)
 
 
Line 24: Line 24:
 
|Checks to see if the data is a valid ZIP file.
 
|Checks to see if the data is a valid ZIP file.
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.filesystem.archive.zip' );</source>
 
<source lang="php">jimport( 'joomla.filesystem.archive.zip' );</source>

Latest revision as of 12:35, 25 March 2010

Replacement filing cabinet.png
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.

[Edit Descripton] Description:JArchiveZip

Contents

Defined in

libraries/joomla/filesystem/archive/zip.php

Methods

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

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

[Edit See Also] SeeAlso:JArchiveZip

Examples

<CodeExamplesForm />