JArchiveWrapperArchive

Wrapper class for JArchive

deprecated
package

Joomla.Platform

subpackage

Archive

since

3.4

deprecated

4.0 use the Joomla\Archive\Archive class instead

Methods

extract

Helper wrapper method for extract

extract(string $archivename, string $extractdir) : boolean
deprecated
see \JArchive::extract()
since

3.4

throws

\InvalidArgumentException

deprecated

4.0 use the Joomla\Archive\Archive class instead

Arguments

$archivename

stringThe name of the archive file

$extractdir

stringDirectory to unpack into

Response

booleanTrue for success

getAdapter

Helper wrapper method for getAdapter

getAdapter(string $type) : \JArchiveExtractable
deprecated
see \JUserHelper::getAdapter()
since

3.4

deprecated

4.0 use the Joomla\Archive\Archive class instead

Arguments

$type

stringThe type of adapter (bzip2|gzip|tar|zip).

Response

\JArchiveExtractableAdapter for the requested type