API17

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===
{{Description:JInstallerComponent}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JInstallerComponent|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 14: Line 12:
 
|-
 
|-
 
|public  
 
|public  
|[[JInstallerComponent::discover/11.1|discover]]
+
|[[API17:JInstallerComponent::discover|discover]]
 
|Discover unregistered extensions.  
 
|Discover unregistered extensions.  
 
|-
 
|-
 
|public  
 
|public  
|[[JInstallerComponent::discover_install/11.1|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/11.1|install]]
+
|[[API17:JInstallerComponent::install|install]]
 
|Custom install method for components.  
 
|Custom install method for components.  
 
|-
 
|-
 
|public  
 
|public  
|[[JInstallerComponent::loadLanguage/11.1|loadLanguage]]
+
|[[API17:JInstallerComponent::loadLanguage|loadLanguage]]
 
|Custom loadLanguage method.  
 
|Custom loadLanguage method.  
 
|-
 
|-
 
|public  
 
|public  
|[[JInstallerComponent::refreshManifestCache/11.1|refreshManifestCache]]
+
|[[API17:JInstallerComponent::refreshManifestCache|refreshManifestCache]]
 
|Refreshes the extension table cache.  
 
|Refreshes the extension table cache.  
 
|-
 
|-
 
|public  
 
|public  
|[[JInstallerComponent::uninstall/11.1|uninstall]]
+
|[[API17:JInstallerComponent::uninstall|uninstall]]
 
|Custom uninstall method for components.  
 
|Custom uninstall method for components.  
 
|-
 
|-
 
|public  
 
|public  
|[[JInstallerComponent::update/11.1|update]]
+
|[[API17:JInstallerComponent::update|update]]
 
|Custom update method for components.  
 
|Custom update method for components.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JInstallerComponent::_buildAdminMenus/11.1|_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/11.1|_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/11.1|_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/11.1|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/11.1|Installer]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Installer|Installer]]
* [[JInstallerComponent|Other versions of JInstallerComponent]]
+
* [[API17:JInstallerComponent|Other versions of JInstallerComponent]]
{{SeeAlso:JInstallerComponent}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JInstallerComponent|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JInstallerComponent
 
category=JInstallerComponent
category=CodeExample
+
namespace=CodeExample
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
Line 78: Line 74:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JInstallerComponent]]</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.

Joomla 11.1 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]


User contributed notes[edit]

Code Examples[edit]