JInstallerHelper: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JInstallerHelper}} | |||
{{Description:JInstallerHelper}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 34: | Line 31: | ||
<source lang="php">jimport( 'joomla.installer.helper' );</source> | <source lang="php">jimport( 'joomla.installer.helper' );</source> | ||
{{subst:SeeAlso:JInstallerHelper}} | |||
{{SeeAlso:JInstallerHelper}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:21, 24 March 2017
{{subst:Description:JInstallerHelper}}
Defined in
libraries/joomla/installer/helper.php
Methods
| Method name | Description |
|---|---|
| downloadPackage | Downloads a package |
| unpack | Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip |
| detectType | Method to detect the extension type from a package directory |
| getFilenameFromURL | Gets a file name out of a url |
| cleanupInstall | Clean up temporary uploaded package and unpacked extension |
| splitSql | Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';' |
Importing
jimport( 'joomla.installer.helper' );
{{subst:SeeAlso:JInstallerHelper}}
Examples
<CodeExamplesForm />