JInstallerLanguage: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JInstallerLanguage}}
=... |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/installer/adapters/language.php | libraries/joomla/installer/adapters/language.php | ||
| Line 31: | Line 26: | ||
<source lang="php">jimport( 'joomla.installer.adapters.language' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.language' );</source> | ||
===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