Actions

API17

Difference between revisions of "JLanguageHelper::createLanguageList"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLanguageHelper::createLanguageList|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLanguageHelper::createLanguageList|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguageHelper::createLanguageList ($actualLanguage, $basePath=JPATH_BASE, $caching=false, $installed=false)
+
public static function createLanguageList (
 +
        $actualLanguage
 +
        $basePath=JPATH_BASE
 +
        $caching=false
 +
        $installed=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 34: Line 36:
 
|array
 
|array
 
|false
 
|false
|An array of arrays (text, value, selected)  
+
|An array of arrays (text, value, selected)
 
|-
 
|-
 
|$installed
 
|$installed
Line 42: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array List of system languages
 
+
* '''Defined''' on line 31 of libraries/joomla/language/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/helper.php (line 29)
+
* '''Referenced by'''
* see source code in [[jplatform:language/helper.php#cl-29|BitBucket]]
+
** [[JFormFieldLanguage::getOptions/11.1|JFormFieldLanguage::getOptions]]
===Referenced by===
+
* [[JFormFieldLanguage::getOptions/11.1|JFormFieldLanguage::getOptions]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLanguageHelper::createLanguageList source code''' on [[jplatform:language/helper.php#cl-23|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLanguageHelper/11.1|JLanguageHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
 +
* [[JLanguageHelper::createLanguageList|Other versions of JLanguageHelper::createLanguageList]]
 +
{{SeeAlso:JLanguageHelper::createLanguageList}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLanguageHelper::createLanguageList|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLanguageHelper::createLanguageList|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLanguageHelper/11.1|JLanguageHelper]]
+
===User contributed notes===
* [[JLanguageHelper::createLanguageList|Other versions of this method]]
+
{{SeeAlso:JLanguageHelper::createLanguageList}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 64: Line 66:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLanguageHelper]][[Category:JLanguageHelper::createLanguageList]]</noinclude>
 
<noinclude>[[Category:JLanguageHelper]][[Category:JLanguageHelper::createLanguageList]]</noinclude>

Revision as of 20:19, 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::createLanguageList

Description

Builds a list of the system languages which can be used in a select option.

Description:JLanguageHelper::createLanguageList [Edit Descripton]

public static function createLanguageList (
        $actualLanguage
        $basePath=JPATH_BASE
        $caching=false
        $installed=false
)
Parameter Type Default Description
$actualLanguage string Client key for the area
$basePath string JPATH_BASE Base path to use
$caching array false An array of arrays (text, value, selected)
$installed false
  • Returns array List of system languages
  • Defined on line 31 of libraries/joomla/language/helper.php
  • Since Joomla 11.1
  • Referenced by

See also

SeeAlso:JLanguageHelper::createLanguageList [Edit See Also]

User contributed notes

<CodeExamplesForm />