JInstaller/1.5
From Joomla! Documentation
JInstaller
Description
Description:JInstaller [Edit Descripton]
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
Importing
jimport( 'joomla.installer.installer' );
See also
-
JInstaller on api.joomla.org
-
JInstaller source code on JoomlaCode
-
Subpackage Installer
- Other versions of JInstaller
SeeAlso:JInstaller [Edit See Also]
User contributed notes
<CodeExamplesForm />