JInstallerLanguage: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m preparing for archive only |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JInstallerLanguage== | =={{JVer|11.1}} JInstallerLanguage== | ||
===Description=== | ===Description=== | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerLanguage::discover | |[[API17:JInstallerLanguage::discover|discover]] | ||
|Custom discover method Finds language files. | |Custom discover method Finds language files. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerLanguage::discover_install | |[[API17:JInstallerLanguage::discover_install|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 | |public | ||
|[[JInstallerLanguage::install | |[[API17:JInstallerLanguage::install|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 | |public | ||
|[[JInstallerLanguage::refreshManifestCache | |[[API17:JInstallerLanguage::refreshManifestCache|refreshManifestCache]] | ||
|Refreshes the extension table cache. | |Refreshes the extension table cache. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerLanguage::uninstall | |[[API17:JInstallerLanguage::uninstall|uninstall]] | ||
|Custom uninstall method. | |Custom uninstall method. | ||
|- | |- | ||
|public | |public | ||
|[[JInstallerLanguage::update | |[[API17:JInstallerLanguage::update|update]] | ||
|Custom update method. | |Custom update method. | ||
|- | |- | ||
|protected | |protected | ||
|[[JInstallerLanguage::_install | |[[API17:JInstallerLanguage::_install|_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 | * '''Defined in''' libraries/joomla/installer/adapters/language.php | ||
* '''Extends''' [[JAdapterInstance | * '''Extends''' [[API17:JAdapterInstance|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=== | ||
* {{JVer|11.1}} '''JInstallerLanguage source code''' on [[jplatform:installer/adapters/language.php|BitBucket]] | * {{JVer|11.1}} '''JInstallerLanguage source code''' on [[jplatform:installer/adapters/language.php|BitBucket]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage Installer | * {{JVer|11.1}} Subpackage [[API17:Subpackage Installer|Installer]] | ||
* [[JInstallerLanguage|Other versions of JInstallerLanguage]] | * [[API17:JInstallerLanguage|Other versions of JInstallerLanguage]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstallerLanguage | category=JInstallerLanguage | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Latest revision as of 03:18, 25 March 2017
JInstallerLanguage
Description
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
User contributed notes
Code Examples