JInstallerHelper/1.5

From Joomla! Documentation
< JInstallerHelper(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
(Layout updates)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} 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>
{{Description:JInstallerHelper}}
 
===Defined in===
 
libraries/joomla/installer/helper.php
 
===Subpackage===
 
[[Subpackage Installer/1.5|Installer]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JInstallerHelper::splitSql/1.5|splitSql]]
 
|[[JInstallerHelper::splitSql/1.5|splitSql]]
 
|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 ';'.  
 
|-
 
|-
 +
|public
 
|[[JInstallerHelper::cleanupInstall/1.5|cleanupInstall]]
 
|[[JInstallerHelper::cleanupInstall/1.5|cleanupInstall]]
 
|Clean up temporary uploaded package and unpacked extension.  
 
|Clean up temporary uploaded package and unpacked extension.  
 
|-
 
|-
 +
|public
 
|[[JInstallerHelper::detectType/1.5|detectType]]
 
|[[JInstallerHelper::detectType/1.5|detectType]]
 
|Method to detect the extension type from a package directory.  
 
|Method to detect the extension type from a package directory.  
 
|-
 
|-
 +
|public
 
|[[JInstallerHelper::downloadPackage/1.5|downloadPackage]]
 
|[[JInstallerHelper::downloadPackage/1.5|downloadPackage]]
 
|Downloads a package.  
 
|Downloads a package.  
 
|-
 
|-
 +
|public
 
|[[JInstallerHelper::getFilenameFromURL/1.5|getFilenameFromURL]]
 
|[[JInstallerHelper::getFilenameFromURL/1.5|getFilenameFromURL]]
 
|Gets a file name out of a url.  
 
|Gets a file name out of a url.  
 
|-
 
|-
 +
|public
 
|[[JInstallerHelper::unpack/1.5|unpack]]
 
|[[JInstallerHelper::unpack/1.5|unpack]]
 
|Unpacks a file and verifies it as a  element package Supports .gz .tar .tar.gz and .zip.  
 
|Unpacks a file and verifies it as a  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===
 +
* {{JVer|1.5}} '''JInstallerHelper''' on [http://api.joomla.org/Joomla-Framework/Installer/JInstallerHelper.html api.joomla.org]
 +
* {{JVer|1.5}} '''JInstallerHelper source code''' on [[jframework15:installer/helper.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Installer/1.5|Installer]]
 +
* [[JInstallerHelper|Other versions of 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>
{{SeeAlso:JInstallerHelper}}
+
===User contributed notes===
* [[JInstallerHelper|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Installer/JInstallerHelper.html JInstallerHelper on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 52: Line 58:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JInstallerHelper]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JInstallerHelper]]</noinclude>

Revision as of 18:10, 25 April 2011

Joomla 1.5 JInstallerHelper

Description

Description:JInstallerHelper [Edit Descripton]

Methods

Visibility Method name Description
public splitSql Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';'.
public cleanupInstall Clean up temporary uploaded package and unpacked extension.
public detectType Method to detect the extension type from a package directory.
public downloadPackage Downloads a package.
public getFilenameFromURL Gets a file name out of a url.
public unpack Unpacks a file and verifies it as a element package Supports .gz .tar .tar.gz and .zip.
  • Defined in libraries/joomla/installer/helper.php

Importing

jimport( 'joomla.installer.helper' );

See also

SeeAlso:JInstallerHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox