API15

JArchiveZip: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JArchiveZip}}
===Defined in===
===Defined in===
libraries/joomla/filesystem/archive/zip.php
libraries/joomla/filesystem/archive/zip.php
Line 26: Line 24:




{{subst:SeeAlso:JArchiveZip}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JArchiveZip
  category=JArchiveZip
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 00:18, 25 March 2017

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



Examples

Code Examples