JInstallerLanguage: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JInstallerLanguage== | |||
===Description=== | |||
{{Description:JInstallerLanguage}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JInstallerLanguage|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JInstallerLanguage|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|public | |||
|[[JInstallerLanguage::discover/11.1|discover]] | |[[JInstallerLanguage::discover/11.1|discover]] | ||
|Custom discover method Finds language files. | |Custom discover method Finds language files. | ||
|- | |- | ||
|public | |||
|[[JInstallerLanguage::discover_install/11.1|discover_install]] | |[[JInstallerLanguage::discover_install/11.1|discover_install]] | ||
|Custom discover install method Basically updates the manifest cache and leaves everything alone. | |Custom discover install method Basically updates the manifest cache and leaves everything alone. | ||
|- | |- | ||
|public | |||
|[[JInstallerLanguage::install/11.1|install]] | |[[JInstallerLanguage::install/11.1|install]] | ||
|Custom install method Note: This behaves badly due to hacks made in the middle of 1.5.x to add the ability to install multiple distinct packs in one install. | |Custom install method Note: This behaves badly due to hacks made in the middle of 1.5.x to add the ability to install multiple distinct packs in one install. | ||
|- | |- | ||
|public | |||
|[[JInstallerLanguage::refreshManifestCache/11.1|refreshManifestCache]] | |[[JInstallerLanguage::refreshManifestCache/11.1|refreshManifestCache]] | ||
|Refreshes the extension table cache. | |Refreshes the extension table cache. | ||
|- | |- | ||
|public | |||
|[[JInstallerLanguage::uninstall/11.1|uninstall]] | |[[JInstallerLanguage::uninstall/11.1|uninstall]] | ||
|Custom uninstall method. | |Custom uninstall method. | ||
|- | |- | ||
|public | |||
|[[JInstallerLanguage::update/11.1|update]] | |[[JInstallerLanguage::update/11.1|update]] | ||
|Custom update method. | |Custom update method. | ||
|- | |- | ||
|protected | |||
|[[JInstallerLanguage::_install/11.1|_install]] | |[[JInstallerLanguage::_install/11.1|_install]] | ||
|Install function that is designed to handle individual clients. | |Install function that is designed to handle individual clients. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/installer/adapters/language.php | |||
* '''Extends''' [[JAdapterInstance/11.1|JAdapterInstance]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.installer.adapters.language' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.language' );</source> | ||
===See also=== | ===See also=== | ||
* JInstallerLanguage source code | * {{JVer|11.1}} '''JInstallerLanguage source code''' on [[jplatform:installer/adapters/language.php|BitBucket]] | ||
* [[JInstallerLanguage|Other versions of | * {{JVer|11.1}} Subpackage [[Subpackage Installer/11.1|Installer]] | ||
* [[JInstallerLanguage|Other versions of JInstallerLanguage]] | |||
{{SeeAlso:JInstallerLanguage}} | {{SeeAlso:JInstallerLanguage}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JInstallerLanguage|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JInstallerLanguage|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:JInstallerLanguage]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JInstallerLanguage]]</noinclude> | ||
Revision as of 23:05, 27 April 2011
JInstallerLanguage
Description
Template:Description:JInstallerLanguage [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | discover | Custom discover method Finds language files. |
| public | discover_install | Custom discover install method Basically updates the manifest cache and leaves everything alone. |
| public | install | Custom install method Note: This behaves badly due to hacks made in the middle of 1.5.x to add the ability to install multiple distinct packs in one install. |
| public | refreshManifestCache | Refreshes the extension table cache. |
| public | uninstall | Custom uninstall method. |
| public | update | Custom update method. |
| protected | _install | Install function that is designed to handle individual clients. |
- Defined in libraries/joomla/installer/adapters/language.php
- Extends JAdapterInstance
Importing
jimport( 'joomla.installer.adapters.language' );
See also
JInstallerLanguage source code on BitBucket
Subpackage Installer- Other versions of JInstallerLanguage
Template:SeeAlso:JInstallerLanguage [Edit See Also]
User contributed notes
<CodeExamplesForm />