JInstaller/1.5

From Joomla! Documentation
< JInstaller(Difference between revisions)
Jump to: navigation, search
(Layout updates)
m (See also: fixing link to API)
 
Line 123: Line 123:
 
<source lang="php">jimport( 'joomla.installer.installer' );</source>
 
<source lang="php">jimport( 'joomla.installer.installer' );</source>
 
===See also===
 
===See also===
* {{JVer|1.5}} '''JInstaller''' on [http://api.joomla.org/Joomla-Framework/Installer/JInstaller.html api.joomla.org]
+
* {{JVer|1.5}} '''JInstaller''' on [http://api.joomla.org/1.5/Joomla-Framework/Installer/JInstaller.html api.joomla.org]
 
* {{JVer|1.5}} '''JInstaller source code''' on [[jframework15:installer/installer.php|JoomlaCode]]
 
* {{JVer|1.5}} '''JInstaller source code''' on [[jframework15:installer/installer.php|JoomlaCode]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Installer/1.5|Installer]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Installer/1.5|Installer]]

Latest revision as of 16:03, 13 February 2013

[edit] Joomla 1.5 JInstaller

[edit] Description

Description:JInstaller [Edit Descripton]

[edit] Methods

Visibility Method name Description
public __construct Constructor.
public _findManifest Tries to find the package manifest file.
public _isManifest Is the xml file a valid installation manifest file.
public abort Installation abort method.
public copyFiles Copy files from source directory to the target directory.
public copyManifest Copies the installation manifest file to the extension folder in the given client.
public getDBO Get the database connector object.
public getManifest Get the installation manifest object.
public getOverwrite Get the allow overwrite switch.
public getParams Method to parse the parameters of an extension, build the INI string for it's default parameters, and return the INI string.
public getPath Get an installer path by name.
public install Package installation method.
public parseFiles Method to parse through a files element of the installation manifest and take appropriate action.
public parseLanguages Method to parse through a languages element of the installation manifest and take appropriate action.
public parseMedia Method to parse through a media element of the installation manifest and take appropriate action.
public parseQueries Backward compatible Method to parse through a queries element of the installation manifest file and take appropriate action.
public parseSQLFiles Method to extract the name of a discreet installation sql file from the installation manifest file.
public pushStep Pushes a step onto the installer stack for rolling back steps.
public removeFiles Method to parse through a files element of the installation manifest and remove the files that were installed.
public setAdapter Set an installer adapter by name.
public setOverwrite Set the allow overwrite switch.
public setPath Sets an installer path by name.
public setupInstall Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type.
public uninstall Package uninstallation method.
public update Package update method.
public getInstance Returns a reference to the global Installer object, only creating it if it doesn't already exist.
  • Defined in libraries/joomla/installer/installer.php
  • Extends JObject

[edit] Importing

jimport( 'joomla.installer.installer' );

[edit] See also

SeeAlso:JInstaller [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox