Difference between revisions of "JLanguageHelper"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JLanguageHelper== | ||
+ | ===Description=== | ||
+ | {{Description:JLanguageHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JLanguageHelper|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JLanguageHelper|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public static | ||
|[[JLanguageHelper::createLanguageList/11.1|createLanguageList]] | |[[JLanguageHelper::createLanguageList/11.1|createLanguageList]] | ||
|Builds a list of the system languages which can be used in a select option. | |Builds a list of the system languages which can be used in a select option. | ||
|- | |- | ||
+ | |public static | ||
|[[JLanguageHelper::detectLanguage/11.1|detectLanguage]] | |[[JLanguageHelper::detectLanguage/11.1|detectLanguage]] | ||
|Tries to detect the language. | |Tries to detect the language. | ||
|- | |- | ||
+ | |public static | ||
|[[JLanguageHelper::getLanguages/11.1|getLanguages]] | |[[JLanguageHelper::getLanguages/11.1|getLanguages]] | ||
|Get available languages. | |Get available languages. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/language/helper.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.language.helper' );</source> | <source lang="php">jimport( 'joomla.language.helper' );</source> | ||
===See also=== | ===See also=== | ||
− | * [[JLanguageHelper|Other versions of | + | * {{JVer|11.1}} '''JLanguageHelper source code''' on [[jplatform:language/helper.php|BitBucket]] |
+ | * {{JVer|11.1}} Subpackage [[Subpackage Language/11.1|Language]] | ||
+ | * [[JLanguageHelper|Other versions of JLanguageHelper]] | ||
{{SeeAlso:JLanguageHelper}} | {{SeeAlso:JLanguageHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JLanguageHelper|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JLanguageHelper|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 42: | Line 45: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JLanguageHelper]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JLanguageHelper]]</noinclude> |
Revision as of 13:55, 29 August 2012
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JLanguageHelper[edit]
Description[edit]
Template:Description:JLanguageHelper [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | createLanguageList | Builds a list of the system languages which can be used in a select option. |
public static | detectLanguage | Tries to detect the language. |
public static | getLanguages | Get available languages. |
- Defined in libraries/joomla/language/helper.php
Importing[edit]
jimport( 'joomla.language.helper' );
See also[edit]
- JLanguageHelper source code on BitBucket
- Subpackage Language
- Other versions of JLanguageHelper
Template:SeeAlso:JLanguageHelper [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />