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 |
|
deprecated |
4.0 use the Joomla\Archive\Archive class instead |
Arguments
- $archivename
string
The name of the archive file- $extractdir
string
Directory to unpack into
Response
boolean
True 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
string
The type of adapter (bzip2|gzip|tar|zip).
Response
\JArchiveExtractable
Adapter for the requested type