JInstaller
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JInstaller[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | abort | Installation abort method. |
public | cleanDiscoveredExtension | Cleans up discovered extensions if they're being installed somehow else. |
public | copyFiles | Copyfiles. |
public | copyManifest | Copies the installation manifest file to the extension folder in the given client. |
public | discover | Extension discover method Asks each adapter to find extensions. |
public | discover_install | |
public | findDeletedFiles | Compares two "files" entries to find deleted files/folders. |
public | findManifest | Tries to find the package manifest file. |
public | generateManifestCache | Generates a manifest cache. |
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 its default parameters, and return the INI string. |
public | getPath | Get an installer path by name. |
public | getRedirectURL | Get the redirect location. |
public | getUpgrade | Get the allow overwrite switch. |
public | install | Package installation method. |
public | isManifest | Is the xml file a valid Joomla installation manifest file. |
public | loadMD5Sum | Loads an MD5SUMS file into an associative array. |
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 | parseSchemaUpdates | Method to process the updates for an item. |
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 | refreshManifestCache | Refreshes the manifest cache stored in __extensions. |
public | removeFiles | Method to parse through a files element of the installation manifest and remove the files that were installed. |
public | setOverwrite | Set the allow overwrite switch. |
public | setPath | Sets an installer path by name. |
public | setRedirectURL | Set the redirct location. |
public | setSchemaVersion | Set the schema version for an extension by looking at its latest update. |
public | setUpgrade | Set the allow overwrite switch. |
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 static | getInstance | Returns the global Installer object, only creating it if it doesn't already exist. |
- Defined in libraries/joomla/installer/installer.php
- Extends JAdapter
Importing[edit]
jimport( 'joomla.installer.installer' );
See also[edit]
JInstaller source code on BitBucket
Subpackage Installer
- Other versions of JInstaller
User contributed notes[edit]
Code Examples[edit]