Actions

API17

Difference between revisions of "JInstaller"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/installer/installer.php
 
libraries/joomla/installer/installer.php
 +
* see source code in [[jplatform:installer/installer.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Installer/11.1|Installer]]
 
[[Subpackage Installer/11.1|Installer]]
Line 132: Line 133:
 
<source lang="php">jimport( 'joomla.installer.installer' );</source>
 
<source lang="php">jimport( 'joomla.installer.installer' );</source>
 
===See also===
 
===See also===
 +
* JInstaller source code in [[jplatform:installer/installer.php|BitBucket]]
 
* [[JInstaller|Other versions of this class]]
 
* [[JInstaller|Other versions of this class]]
 
{{SeeAlso:JInstaller}}
 
{{SeeAlso:JInstaller}}

Revision as of 17:58, 23 April 2011

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.

[Edit Descripton] Description:JInstaller

Defined in

libraries/joomla/installer/installer.php

Subpackage

Installer

Extends

JAdapter

Extended by

Methods

Method name Description
__construct Constructor.
abort Installation abort method.
cleanDiscoveredExtension Cleans up discovered extensions if they're being installed somehow else.
copyFiles Copy files from source directory to the target directory.
copyManifest Copies the installation manifest file to the extension folder in the given client.
discover Extension discover method Asks each adapter to find extensions.
discover_install
findDeletedFiles Compares two "files" entries to find deleted files/folders.
findManifest Tries to find the package manifest file.
generateManifestCache Generates a manifest cache.
getManifest Get the installation manifest object.
getOverwrite Get the allow overwrite switch.
getParams Method to parse the parameters of an extension, build the INI string for it's default parameters, and return the INI string.
getPath Get an installer path by name.
getRedirectURL Get the redirect location.
getUpgrade Get the allow overwrite switch.
install Package installation method.
isManifest Is the xml file a valid Joomla installation manifest file.
loadMD5Sum Loads an MD5SUMS file into an associative array.
parseFiles Method to parse through a files element of the installation manifest and take appropriate action.
parseLanguages Method to parse through a languages element of the installation manifest and take appropriate action.
parseMedia Method to parse through a media element of the installation manifest and take appropriate action.
parseQueries Backward compatible Method to parse through a queries element of the installation manifest file and take appropriate action.
parseSchemaUpdates Method to process the updates for an item.
parseSQLFiles Method to extract the name of a discreet installation sql file from the installation manifest file.
pushStep Pushes a step onto the installer stack for rolling back steps.
refreshManifestCache Refreshes the manifest cache stored in __extensions.
removeFiles Method to parse through a files element of the installation manifest and remove the files that were installed.
setOverwrite Set the allow overwrite switch.
setPath Sets an installer path by name.
setRedirectURL Set the redirct location.
setSchemaVersion Set the schema version for an extension by looking at its latest update.
setUpgrade Set the allow overwrite switch.
setupInstall Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type.
uninstall Package uninstallation method.
update Package update method.
getInstance Returns the global Installer object, only creating it if it doesn't already exist.

Importing

jimport( 'joomla.installer.installer' );

See also

SeeAlso:JInstaller [Edit See Also]

Examples

<CodeExamplesForm />