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>

Revision as of 12:35, 25 March 2010

The "API15" 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.

[Edit Descripton] Template:Description:JArchiveZip

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' );

[Edit See Also] Template:SeeAlso:JArchiveZip

Examples[edit]

<CodeExamplesForm />