JInstallerTemplate: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JInstallerTemplate== | |||
===Description=== | |||
{{Description:JInstallerTemplate}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JInstallerTemplate|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInstallerTemplate|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::discover/11.1|discover]] | |[[JInstallerTemplate::discover/11.1|discover]] | ||
|Discover existing but uninstalled templates. | |Discover existing but uninstalled templates. | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::discover_install/11.1|discover_install]] | |[[JInstallerTemplate::discover_install/11.1|discover_install]] | ||
|Perform an install | |Discover_install Perform an install for a discovered extension. | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::install/11.1|install]] | |[[JInstallerTemplate::install/11.1|install]] | ||
|Custom install method. | |Custom install method. | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::loadLanguage/11.1|loadLanguage]] | |[[JInstallerTemplate::loadLanguage/11.1|loadLanguage]] | ||
|Custom loadLanguage method. | |Custom loadLanguage method. | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::refreshManifestCache/11.1|refreshManifestCache]] | |[[JInstallerTemplate::refreshManifestCache/11.1|refreshManifestCache]] | ||
|Refreshes the extension table cache. | |Refreshes the extension table cache. | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::uninstall/11.1|uninstall]] | |[[JInstallerTemplate::uninstall/11.1|uninstall]] | ||
|Custom uninstall method. | |Custom uninstall method. | ||
|- | |- | ||
|public | |||
|[[JInstallerTemplate::update/11.1|update]] | |[[JInstallerTemplate::update/11.1|update]] | ||
|Custom update method for components. | |Custom update method for components. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/installer/adapters/template.php | |||
* '''Extends''' [[JAdapterInstance/11.1|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]] | ||
* [[JInstallerTemplate|Other versions of | * {{JVer|11.1}} Subpackage [[Subpackage Installer/11.1|Installer]] | ||
* [[JInstallerTemplate|Other versions of JInstallerTemplate]] | |||
{{SeeAlso:JInstallerTemplate}} | {{SeeAlso:JInstallerTemplate}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInstallerTemplate|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInstallerTemplate|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 57: | Line 62: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInstallerTemplate]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInstallerTemplate]]</noinclude> | ||
Revision as of 23:05, 27 April 2011
JInstallerTemplate
Description
Template:Description:JInstallerTemplate [Edit Descripton]
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
Template:SeeAlso:JInstallerTemplate [Edit See Also]
User contributed notes
<CodeExamplesForm />