JInstallerTemplate: Difference between revisions
From Joomla! Documentation
Layout updates |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JInstallerTemplate== | |||
===Description=== | |||
{{ | |||
=== | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|[[JInstallerTemplate::discover | |public | ||
|[[API17:JInstallerTemplate::discover|discover]] | |||
|Discover existing but uninstalled templates. | |Discover existing but uninstalled templates. | ||
|- | |- | ||
|[[JInstallerTemplate::discover_install | |public | ||
|Perform an install | |[[API17:JInstallerTemplate::discover_install|discover_install]] | ||
|Discover_install Perform an install for a discovered extension. | |||
|- | |- | ||
|[[JInstallerTemplate::install | |public | ||
|[[API17:JInstallerTemplate::install|install]] | |||
|Custom install method. | |Custom install method. | ||
|- | |- | ||
|[[JInstallerTemplate::loadLanguage | |public | ||
|[[API17:JInstallerTemplate::loadLanguage|loadLanguage]] | |||
|Custom loadLanguage method. | |Custom loadLanguage method. | ||
|- | |- | ||
|[[JInstallerTemplate::refreshManifestCache | |public | ||
|[[API17:JInstallerTemplate::refreshManifestCache|refreshManifestCache]] | |||
|Refreshes the extension table cache. | |Refreshes the extension table cache. | ||
|- | |- | ||
|[[JInstallerTemplate::uninstall | |public | ||
|[[API17:JInstallerTemplate::uninstall|uninstall]] | |||
|Custom uninstall method. | |Custom uninstall method. | ||
|- | |- | ||
|[[JInstallerTemplate::update | |public | ||
|[[API17:JInstallerTemplate::update|update]] | |||
|Custom update method for components. | |Custom update method for components. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/installer/adapters/template.php | |||
* '''Extends''' [[API17:JAdapterInstance|JAdapterInstance]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.adapters.template' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.template' );</source> | ||
===See also=== | ===See also=== | ||
* JInstallerTemplate source code | * {{JVer|11.1}} '''JInstallerTemplate source code''' on [[jplatform:installer/adapters/template.php|BitBucket]] | ||
* [[ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Installer|Installer]] | ||
* [[API17:JInstallerTemplate|Other versions of JInstallerTemplate]] | |||
===User contributed notes=== | |||
===Examples=== | === Code Examples === | ||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstallerTemplate | category=JInstallerTemplate | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:19, 25 March 2017
JInstallerTemplate
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | discover | Discover existing but uninstalled templates. |
| public | discover_install | Discover_install Perform an install for a discovered extension. |
| 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 for components. |
- Defined in libraries/joomla/installer/adapters/template.php
- Extends JAdapterInstance
Importing
jimport( 'joomla.installer.adapters.template' );
See also
JInstallerTemplate source code on BitBucket
Subpackage Installer- Other versions of JInstallerTemplate
User contributed notes
Code Examples