API15:JInstallerHelper
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JInstallerHelper}}
===De...) |
|||
| Line 30: | Line 30: | ||
|Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';' | |Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';' | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.helper' );</source> | <source lang="php">jimport( 'joomla.installer.helper' );</source> | ||
Latest revision as of 12:26, 25 March 2010
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.
[Edit Descripton] Description:JInstallerHelper
Contents |
[edit] Defined in
libraries/joomla/installer/helper.php
[edit] 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 ';' |
[edit] Importing
jimport( 'joomla.installer.helper' );
[Edit See Also] SeeAlso:JInstallerHelper
[edit] Examples
<CodeExamplesForm />
