API17:JInstallerHelper::unpack
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JInstallerHelper::unpack
Description
Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip.
Description:JInstallerHelper::unpack [Edit Descripton]
Since
Synopsis
public static JInstallerHelper::unpack ($p_filename)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $p_filename | string | The uploaded package filename or install directory |
Returns
Array Two elements - extractdir and packagefile
Defined in
libraries/joomla/installer/helper.php (line 112)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JInstallerHelper::unpack
Examples
<CodeExamplesForm />
