JInstallerComponent/1.5
From Joomla! Documentation
< JInstallerComponent(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→See also: fixing link to API) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} JInstallerComponent== | ||
| + | ===Description=== | ||
| + | {{Description:JInstallerComponent}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JInstallerComponent|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInstallerComponent|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JInstallerComponent::__construct/1.5|__construct]] | |[[JInstallerComponent::__construct/1.5|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JInstallerComponent::_buildAdminMenus/1.5|_buildAdminMenus]] | |[[JInstallerComponent::_buildAdminMenus/1.5|_buildAdminMenus]] | ||
|Method to build menu database entries for a component. | |Method to build menu database entries for a component. | ||
|- | |- | ||
| + | |public | ||
|[[JInstallerComponent::_removeAdminMenus/1.5|_removeAdminMenus]] | |[[JInstallerComponent::_removeAdminMenus/1.5|_removeAdminMenus]] | ||
|Method to remove admin menu references to a component. | |Method to remove admin menu references to a component. | ||
|- | |- | ||
| + | |public | ||
|[[JInstallerComponent::_rollback_menu/1.5|_rollback_menu]] | |[[JInstallerComponent::_rollback_menu/1.5|_rollback_menu]] | ||
|Custom rollback method | |Custom rollback method | ||
|- | |- | ||
| + | |public | ||
|[[JInstallerComponent::install/1.5|install]] | |[[JInstallerComponent::install/1.5|install]] | ||
|Custom install method for components. | |Custom install method for components. | ||
|- | |- | ||
| + | |public | ||
|[[JInstallerComponent::uninstall/1.5|uninstall]] | |[[JInstallerComponent::uninstall/1.5|uninstall]] | ||
|Custom uninstall method for components. | |Custom uninstall method for components. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/installer/adapters/component.php | ||
| + | * '''Extends''' [[JObject/1.5|JObject]] | ||
===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|1.5}} '''JInstallerComponent''' on [http://api.joomla.org/1.5/Joomla-Framework/Installer/JInstallerComponent.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JInstallerComponent source code''' on [[jframework15:installer/adapters/component.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Installer/1.5|Installer]] | ||
| + | * [[JInstallerComponent|Other versions of JInstallerComponent]] | ||
| + | {{SeeAlso:JInstallerComponent}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInstallerComponent|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInstallerComponent|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 54: | Line 60: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JInstallerComponent]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JInstallerComponent]]</noinclude> | ||
Latest revision as of 16:03, 13 February 2013
[edit]
JInstallerComponent
[edit] Description
Description:JInstallerComponent [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _buildAdminMenus | Method to build menu database entries for a component. |
| public | _removeAdminMenus | Method to remove admin menu references to a component. |
| public | _rollback_menu | Custom rollback method |
| public | install | Custom install method for components. |
| public | uninstall | Custom uninstall method for components. |
- Defined in libraries/joomla/installer/adapters/component.php
- Extends JObject
[edit] Importing
jimport( 'joomla.installer.adapters.component' );
[edit] See also
-
JInstallerComponent on api.joomla.org
-
JInstallerComponent source code on JoomlaCode
-
Subpackage Installer
- Other versions of JInstallerComponent
SeeAlso:JInstallerComponent [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />