Actions

API17

Difference between revisions of "JInstallerHelper"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
 
(4 intermediate revisions by 2 users 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>
{{Description:JInstallerHelper}}
 
===Defined in===
 
libraries/joomla/installer/helper.php
 
* see source code in [[jplatform:installer/helper.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Installer/11.1|Installer]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JInstallerHelper::cleanupInstall/11.1|cleanupInstall]]
+
|public static
 +
|[[API17:JInstallerHelper::cleanupInstall|cleanupInstall]]
 
|Clean up temporary uploaded package and unpacked extension.  
 
|Clean up temporary uploaded package and unpacked extension.  
 
|-
 
|-
|[[JInstallerHelper::detectType/11.1|detectType]]
+
|public static
 +
|[[API17:JInstallerHelper::detectType|detectType]]
 
|Method to detect the extension type from a package directory.  
 
|Method to detect the extension type from a package directory.  
 
|-
 
|-
|[[JInstallerHelper::downloadPackage/11.1|downloadPackage]]
+
|public static
 +
|[[API17:JInstallerHelper::downloadPackage|downloadPackage]]
 
|Downloads a package.  
 
|Downloads a package.  
 
|-
 
|-
|[[JInstallerHelper::getFilenameFromURL/11.1|getFilenameFromURL]]
+
|public static
 +
|[[API17:JInstallerHelper::getFilenameFromURL|getFilenameFromURL]]
 
|Gets a file name out of a url.  
 
|Gets a file name out of a url.  
 
|-
 
|-
|[[JInstallerHelper::splitSql/11.1|splitSql]]
+
|public static
|Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';'.  
+
|[[API17:JInstallerHelper::splitSql|splitSql]]
 +
|Splitsql.  
 
|-
 
|-
|[[JInstallerHelper::unpack/11.1|unpack]]
+
|public static
 +
|[[API17:JInstallerHelper::unpack|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 source code in [[jplatform:installer/helper.php|BitBucket]]
+
* {{JVer|11.1}} '''JInstallerHelper source code''' on [[jplatform:installer/helper.php|BitBucket]]
* [[JInstallerHelper|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Installer|Installer]]
 +
* [[API17: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>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: 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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:01, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 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

  • Joomla 11.1 JInstallerHelper source code on BitBucket
  • Joomla 11.1 Subpackage Installer
  • Other versions of JInstallerHelper

SeeAlso:JInstallerHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />