Actions

API17

Difference between revisions of "JLanguageHelper"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (moving preparation)
 
(5 intermediate revisions by 2 users 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>
{{Description:JLanguageHelper}}
 
===Defined in===
 
libraries/joomla/language/helper.php
 
===Subpackage===
 
[[Subpackage Language/11.1|Language]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JLanguageHelper::createLanguageList/11.1|createLanguageList]]
+
|public static
 +
|[[API17:JLanguageHelper::createLanguageList|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.  
 
|-
 
|-
|[[JLanguageHelper::detectLanguage/11.1|detectLanguage]]
+
|public static
 +
|[[API17:JLanguageHelper::detectLanguage|detectLanguage]]
 
|Tries to detect the language.  
 
|Tries to detect the language.  
 
|-
 
|-
|[[JLanguageHelper::getLanguages/11.1|getLanguages]]
+
|public static
 +
|[[API17:JLanguageHelper::getLanguages|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 this class]]
+
* {{JVer|11.1}} '''JLanguageHelper source code''' on [[jplatform:language/helper.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage Language|Language]]
 +
* [[API17: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 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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:08, 11 May 2013

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

  • Joomla 11.1 JLanguageHelper source code on BitBucket
  • Joomla 11.1 Subpackage Language
  • Other versions of JLanguageHelper

SeeAlso:JLanguageHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />