JArchiveZip::create
From Joomla! Documentation
Revision as of 19:44, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→See also: moving preparation)
Revision as of 19:44, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→See also: moving preparation)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" 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.
JArchiveZip::create[edit]
Description[edit]
Create a ZIP compressed file from an array of file data.
Template:Description:JArchiveZip::create [Edit Descripton]
public function 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 on line 95 of libraries/joomla/filesystem/archive/zip.php
- Since
See also[edit]
- JArchiveZip::create source code on BitBucket
- Class JArchiveZip
- Subpackage Filesystem
- Other versions of JArchiveZip::create
Template:SeeAlso:JArchiveZip::create [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />