API17

API17:JArchiveZip::extract

From Joomla! Documentation

Joomla 11.1 JArchiveZip::extract

Description

Extract a ZIP compressed file to a given path.


public function extract (
        $archive
        $destination
        $options=array
)
Parameter Type Default Description
$archive string Path to ZIP archive to extract
$destination string Path to extract archive into
$options array array() Extraction options [unused]
  • Returns boolean True if successful
  • Defined on line 119 of libraries/joomla/filesystem/archive/zip.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples