JArchiveZip: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JArchiveZip}} | |||
{{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> | ||
{{subst:SeeAlso:JArchiveZip}} | |||
{{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 />