class JArchiveWrapperArchive

Wrapper class for JArchive

Methods

boolean
extract( string $archivename, string $extractdir)

Helper wrapper method for extract

getAdapter( string $type)

Helper wrapper method for getAdapter

Details

boolean extract( string $archivename, string $extractdir)

Helper wrapper method for extract

Parameters

string $archivename The name of the archive file
string $extractdir Directory to unpack into

Return Value

boolean True for success

Exceptions

InvalidArgumentException

See also

JArchive::extract()

JArchiveExtractable getAdapter( string $type)

Helper wrapper method for getAdapter

Parameters

string $type The type of adapter (bzip2|gzip|tar|zip).

Return Value

JArchiveExtractable Adapter for the requested type

See also

JUserHelper::getAdapter()