Difference between revisions of "JInstallerTemplate"
From Joomla! Documentation
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
(One intermediate revision by one other user not shown) | |||
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 JClasses]][[Category:Platform 11.1]][[Category:JInstallerTemplate]]</noinclude> |
Revision as of 13:55, 29 August 2012
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.
JInstallerTemplate[edit]
Description[edit]
Template:Description:JInstallerTemplate [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.installer.adapters.template' );
See also[edit]
- JInstallerTemplate source code on BitBucket
- Subpackage Installer
- Other versions of JInstallerTemplate
Template:SeeAlso:JInstallerTemplate [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />