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 clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JInstallerLanguage}} | |||
{{Description:JInstallerLanguage}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 31: | Line 28: | ||
<source lang="php">jimport( 'joomla.installer.adapters.language' );</source> | <source lang="php">jimport( 'joomla.installer.adapters.language' );</source> | ||
{{subst:SeeAlso:JInstallerLanguage}} | |||
{{SeeAlso:JInstallerLanguage}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:09, 24 March 2017
{{subst:Description:JInstallerLanguage}}
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' );
{{subst:SeeAlso:JInstallerLanguage}}
Examples
<CodeExamplesForm />