API17

API17:JArchiveZip::create

From Joomla! Documentation

Revision as of 14:46, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JArchiveZip::create

Description

Create a ZIP compressed file from an array of file data.

{{subst:Description:JArchiveZip::create}}

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 Joomla 11.1

See also

{{subst:SeeAlso:JArchiveZip::create}}

User contributed notes

<CodeExamplesForm />