API17:JInstallerHelper
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JInstallerHelper== | ||
| + | ===Description=== | ||
| + | {{Description:JInstallerHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JInstallerHelper|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInstallerHelper|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public static | ||
|[[JInstallerHelper::cleanupInstall/11.1|cleanupInstall]] | |[[JInstallerHelper::cleanupInstall/11.1|cleanupInstall]] | ||
|Clean up temporary uploaded package and unpacked extension. | |Clean up temporary uploaded package and unpacked extension. | ||
|- | |- | ||
| + | |public static | ||
|[[JInstallerHelper::detectType/11.1|detectType]] | |[[JInstallerHelper::detectType/11.1|detectType]] | ||
|Method to detect the extension type from a package directory. | |Method to detect the extension type from a package directory. | ||
|- | |- | ||
| + | |public static | ||
|[[JInstallerHelper::downloadPackage/11.1|downloadPackage]] | |[[JInstallerHelper::downloadPackage/11.1|downloadPackage]] | ||
|Downloads a package. | |Downloads a package. | ||
|- | |- | ||
| + | |public static | ||
|[[JInstallerHelper::getFilenameFromURL/11.1|getFilenameFromURL]] | |[[JInstallerHelper::getFilenameFromURL/11.1|getFilenameFromURL]] | ||
|Gets a file name out of a url. | |Gets a file name out of a url. | ||
|- | |- | ||
| + | |public static | ||
|[[JInstallerHelper::splitSql/11.1|splitSql]] | |[[JInstallerHelper::splitSql/11.1|splitSql]] | ||
| − | | | + | |Splitsql. |
|- | |- | ||
| + | |public static | ||
|[[JInstallerHelper::unpack/11.1|unpack]] | |[[JInstallerHelper::unpack/11.1|unpack]] | ||
|Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip. | |Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/installer/helper.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.helper' );</source> | <source lang="php">jimport( 'joomla.installer.helper' );</source> | ||
===See also=== | ===See also=== | ||
| − | * [[JInstallerHelper|Other versions of | + | * {{JVer|11.1}} '''JInstallerHelper source code''' on [[jplatform:installer/helper.php|BitBucket]] |
| + | * {{JVer|11.1}} Subpackage [[Subpackage Installer/11.1|Installer]] | ||
| + | * [[JInstallerHelper|Other versions of JInstallerHelper]] | ||
{{SeeAlso:JInstallerHelper}} | {{SeeAlso:JInstallerHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInstallerHelper|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInstallerHelper|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 51: | Line 57: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInstallerHelper]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JInstallerHelper]]</noinclude> |
Revision as of 13:54, 29 August 2012
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
Description
Description:JInstallerHelper [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | cleanupInstall | Clean up temporary uploaded package and unpacked extension. |
| public static | detectType | Method to detect the extension type from a package directory. |
| public static | downloadPackage | Downloads a package. |
| public static | getFilenameFromURL | Gets a file name out of a url. |
| public static | splitSql | Splitsql. |
| public static | unpack | Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip. |
- Defined in libraries/joomla/installer/helper.php
Importing
jimport( 'joomla.installer.helper' );
See also
-
JInstallerHelper source code on BitBucket
-
Subpackage Installer
- Other versions of JInstallerHelper
SeeAlso:JInstallerHelper [Edit See Also]
User contributed notes
<CodeExamplesForm />
