Difference between revisions of "JInstallerComponent"
From Joomla! Documentation
m (→User contributed notes: bad link repair) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JInstallerComponent== | =={{JVer|11.1}} JInstallerComponent== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::discover | + | |[[API17:JInstallerComponent::discover|discover]] |
|Discover unregistered extensions. | |Discover unregistered extensions. | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::discover_install | + | |[[API17:JInstallerComponent::discover_install|discover_install]] |
|Install unregistered extensions that have been discovered. | |Install unregistered extensions that have been discovered. | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::install | + | |[[API17:JInstallerComponent::install|install]] |
|Custom install method for components. | |Custom install method for components. | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::loadLanguage | + | |[[API17:JInstallerComponent::loadLanguage|loadLanguage]] |
|Custom loadLanguage method. | |Custom loadLanguage method. | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::refreshManifestCache | + | |[[API17:JInstallerComponent::refreshManifestCache|refreshManifestCache]] |
|Refreshes the extension table cache. | |Refreshes the extension table cache. | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::uninstall | + | |[[API17:JInstallerComponent::uninstall|uninstall]] |
|Custom uninstall method for components. | |Custom uninstall method for components. | ||
|- | |- | ||
|public | |public | ||
− | |[[JInstallerComponent::update | + | |[[API17:JInstallerComponent::update|update]] |
|Custom update method for components. | |Custom update method for components. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JInstallerComponent::_buildAdminMenus | + | |[[API17:JInstallerComponent::_buildAdminMenus|_buildAdminMenus]] |
|Method to build menu database entries for a component. | |Method to build menu database entries for a component. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JInstallerComponent::_removeAdminMenus | + | |[[API17:JInstallerComponent::_removeAdminMenus|_removeAdminMenus]] |
|Method to remove admin menu references to a component. | |Method to remove admin menu references to a component. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JInstallerComponent::_rollback_menu | + | |[[API17:JInstallerComponent::_rollback_menu|_rollback_menu]] |
|Custom rollback method | |Custom rollback method | ||
Line 56: | Line 54: | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/installer/adapters/component.php | * '''Defined in''' libraries/joomla/installer/adapters/component.php | ||
− | * '''Extends''' [[JAdapterInstance | + | * '''Extends''' [[API17:JAdapterInstance|JAdapterInstance]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.adapters.component' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.component' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JInstallerComponent source code''' on [[jplatform:installer/adapters/component.php|BitBucket]] | * {{JVer|11.1}} '''JInstallerComponent source code''' on [[jplatform:installer/adapters/component.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Installer | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Installer|Installer]] |
− | * [[JInstallerComponent|Other versions of JInstallerComponent]] | + | * [[API17:JInstallerComponent|Other versions of JInstallerComponent]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstallerComponent | category=JInstallerComponent | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 78: | Line 74: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:17, 24 March 2017
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.
JInstallerComponent[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | discover | Discover unregistered extensions. |
public | discover_install | Install unregistered extensions that have been discovered. |
public | install | Custom install method for components. |
public | loadLanguage | Custom loadLanguage method. |
public | refreshManifestCache | Refreshes the extension table cache. |
public | uninstall | Custom uninstall method for components. |
public | update | Custom update method for components. |
protected | _buildAdminMenus | Method to build menu database entries for a component. |
protected | _removeAdminMenus | Method to remove admin menu references to a component. |
protected | _rollback_menu | Custom rollback method |
- Defined in libraries/joomla/installer/adapters/component.php
- Extends JAdapterInstance
Importing[edit]
jimport( 'joomla.installer.adapters.component' );
See also[edit]
- JInstallerComponent source code on BitBucket
- Subpackage Installer
- Other versions of JInstallerComponent
User contributed notes[edit]
Code Examples[edit]