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