API15

JArchiveZip: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
No edit summary
m clean up
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JArchiveZip}}
<nowiki>[</nowiki>[[Description:JArchiveZip|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JArchiveZip}}


===Defined in===
===Defined in===
Line 28: Line 25:
<source lang="php">jimport( 'joomla.filesystem.archive.zip' );</source>
<source lang="php">jimport( 'joomla.filesystem.archive.zip' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JArchiveZip|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JArchiveZip}}
</span>
{{SeeAlso:JArchiveZip}}


===Examples===
===Examples===

Revision as of 13:12, 24 March 2017

{{subst:Description:JArchiveZip}}

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


{{subst:SeeAlso:JArchiveZip}}

Examples

<CodeExamplesForm />