API17:JArchiveZip::create
From Joomla! Documentation
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.
JArchiveZip::create
Description
Create a ZIP compressed file from an array of file data.
Description:JArchiveZip::create [Edit Descripton]
Since
Synopsis
public JArchiveZip::create ($archive, $files, $options=array())
| Parameter | Type | Default | Description |
|---|---|---|---|
| $archive | string | Path to save archive. | |
| $files | array | Array of files to add to archive. | |
| $options | array | array() | Compression options (unused). |
Returns
boolean True if successful.
Defined in
libraries/joomla/filesystem/archive/zip.php (line 95)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
