Actions

API17

Difference between revisions of "JLanguageHelper"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
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>
{{Description:JLanguageHelper}}
 
===Defined in===
 
libraries/joomla/language/helper.php
 
* see source code in [[jplatform:language/helper.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Language/11.1|Language]]
 
===Extends===
 
===Extended by===
 
 
===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 source code in [[jplatform:language/helper.php|BitBucket]]
+
* {{JVer|11.1}} '''JLanguageHelper source code''' on [[jplatform:language/helper.php|BitBucket]]
* [[JLanguageHelper|Other versions of this class]]
+
* {{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>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 44: 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]][[Category:Platform 11.1]][[Category:JLanguageHelper]]</noinclude>

Revision as of 18:05, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JLanguageHelper

Description

Description:JLanguageHelper [Edit Descripton]

Methods

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

jimport( 'joomla.language.helper' );

See also

SeeAlso:JLanguageHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />