JArchiveExtractable

Archieve class interface

deprecated
since

12.1

deprecated

4.0 use the Joomla\Archive\ExtractableInterface interface instead

package

Joomla.Platform

Methods

extract

Extract a compressed file to a given path

extract(string $archive, string $destination, array $options = array()) : boolean
since

12.1

Arguments

$archive

stringPath to archive to extract

$destination

stringPath to extract archive to

$options

arrayExtraction options [may be unused]

Response

booleanTrue if successful

isSupported

Tests whether this adapter can unpack files on this computer.

isSupported() : boolean
static
since

12.1

Response

booleanTrue if supported