JInstallerModule: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
m preparing for archive only |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JInstallerModule== | =={{JVer|11.1}} JInstallerModule== | ||
===Description=== | ===Description=== | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::discover | |[[API17:JInstallerModule::discover|discover]] | ||
|Custom discover method. | |Custom discover method. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::discover_install | |[[API17:JInstallerModule::discover_install|discover_install]] | ||
|Custom discover_install method. | |Custom discover_install method. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::install | |[[API17:JInstallerModule::install|install]] | ||
|Custom install method. | |Custom install method. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::loadLanguage | |[[API17:JInstallerModule::loadLanguage|loadLanguage]] | ||
|Custom loadLanguage method. | |Custom loadLanguage method. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::refreshManifestCache | |[[API17:JInstallerModule::refreshManifestCache|refreshManifestCache]] | ||
|Refreshes the extension table cache. | |Refreshes the extension table cache. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::uninstall | |[[API17:JInstallerModule::uninstall|uninstall]] | ||
|Custom uninstall method. | |Custom uninstall method. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerModule::update | |[[API17:JInstallerModule::update|update]] | ||
|Custom update method This is really a shell for the install system. | |Custom update method This is really a shell for the install system. | ||
|- | |- | ||
|protected | |protected | ||
|[[JInstallerModule::_rollback_menu | |[[API17:JInstallerModule::_rollback_menu|_rollback_menu]] | ||
|Custom rollback method | |Custom rollback method | ||
|- | |- | ||
|protected | |protected | ||
|[[JInstallerModule::_rollback_module | |[[API17:JInstallerModule::_rollback_module|_rollback_module]] | ||
|Custom rollback method | |Custom rollback method | ||
| Line 53: | Line 51: | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/installer/adapters/module.php | * '''Defined in''' libraries/joomla/installer/adapters/module.php | ||
* '''Extends''' [[JAdapterInstance | * '''Extends''' [[API17:JAdapterInstance|JAdapterInstance]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.adapters.module' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.module' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JInstallerModule source code''' on [[jplatform:installer/adapters/module.php|BitBucket]] | * {{JVer|11.1}} '''JInstallerModule source code''' on [[jplatform:installer/adapters/module.php|BitBucket]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage Installer | * {{JVer|11.1}} Subpackage [[API17:Subpackage Installer|Installer]] | ||
* [[JInstallerModule|Other versions of JInstallerModule]] | * [[API17:JInstallerModule|Other versions of JInstallerModule]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstallerModule | category=JInstallerModule | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| Line 75: | Line 71: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:18, 25 March 2017
JInstallerModule
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | discover | Custom discover method. |
| public | discover_install | Custom discover_install method. |
| public | install | Custom install method. |
| public | loadLanguage | Custom loadLanguage method. |
| public | refreshManifestCache | Refreshes the extension table cache. |
| public | uninstall | Custom uninstall method. |
| public | update | Custom update method This is really a shell for the install system. |
| protected | _rollback_menu | Custom rollback method |
| protected | _rollback_module | Custom rollback method |
- Defined in libraries/joomla/installer/adapters/module.php
- Extends JAdapterInstance
Importing
jimport( 'joomla.installer.adapters.module' );
See also
JInstallerModule source code on BitBucket
Subpackage Installer- Other versions of JInstallerModule
User contributed notes
Code Examples