JInstallerLanguage: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/installer/adapters/language.php | libraries/joomla/installer/adapters/language.php | ||
| Line 29: | Line 27: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JInstallerLanguage | category=JInstallerLanguage | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:49, 25 March 2017
Defined in
libraries/joomla/installer/adapters/language.php
Methods
| Method name | Description |
|---|---|
| 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. The preferred method is to use a package to install multiple language packs. |
| update | Custom update method |
| uninstall | Custom uninstall method |
| discover | Custom discover method Finds language files |
| discover_install | Custom discover install method Basically updates the manifest cache and leaves everything alone |
Importing
jimport( 'joomla.installer.adapters.language' );
Examples
Code Examples