JInstallerComponent: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m moving preparation |
||
| Line 14: | Line 14: | ||
|- | |- | ||
|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 56: | ||
|} | |} | ||
* '''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]] | ||
{{SeeAlso:JInstallerComponent}} | {{SeeAlso:JInstallerComponent}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 02:00, 12 May 2013
JInstallerComponent
Description
Template:Description:JInstallerComponent [Edit Descripton]
Methods
| 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
jimport( 'joomla.installer.adapters.component' );
See also
JInstallerComponent source code on BitBucket
Subpackage Installer- Other versions of JInstallerComponent
Template:SeeAlso:JInstallerComponent [Edit See Also]
User contributed notes
<CodeExamplesForm />