Actions

API17

JArchiveZip::create

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.

Joomla 11.1 JArchiveZip::create

Description

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


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


User contributed notes

Code Examples


Advertisement