Difference between revisions of "JInstallerHelper::unpack"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JInstallerHelper::unpack|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInstallerHelper::unpack|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function unpack ($p_filename) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 24: | Line 21: | ||
|string | |string | ||
| | | | ||
− | |The uploaded package filename or install directory | + | |The uploaded package filename or install directory |
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' Array Two elements - extractdir and packagefile | |
− | Array Two elements - extractdir and packagefile | + | * '''Defined''' on line 114 of libraries/joomla/installer/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/installer/helper.php | + | * '''Referenced by''' |
− | * | + | ** [[JInstallerPackage::install/11.1|JInstallerPackage::install]] |
− | |||
− | * [[JInstallerPackage::install/11.1|JInstallerPackage::install]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JInstallerHelper::unpack source code''' on [[jplatform:installer/helper.php#cl-106|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JInstallerHelper/11.1|JInstallerHelper]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]] | ||
+ | * [[JInstallerHelper::unpack|Other versions of JInstallerHelper::unpack]] | ||
+ | {{SeeAlso:JInstallerHelper::unpack}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInstallerHelper::unpack|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInstallerHelper::unpack|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 49: | Line 46: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JInstallerHelper]][[Category:JInstallerHelper::unpack]]</noinclude> | <noinclude>[[Category:JInstallerHelper]][[Category:JInstallerHelper::unpack]]</noinclude> |
Revision as of 21:13, 27 April 2011
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]
public static function 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 on line 114 of libraries/joomla/installer/helper.php
- Since
- Referenced by
See also[edit]
- JInstallerHelper::unpack source code on BitBucket
- Class JInstallerHelper
- Subpackage Installer
- Other versions of JInstallerHelper::unpack
Template:SeeAlso:JInstallerHelper::unpack [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />