API17

Difference between revisions of "JLanguage::getKnownLanguages"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLanguage::getKnownLanguages|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLanguage::getKnownLanguages|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguage::getKnownLanguages ($basePath=JPATH_BASE)
+
public static function getKnownLanguages ($basePath=JPATH_BASE)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|string
 
|string
 
|JPATH_BASE
 
|JPATH_BASE
|The basepath to use  
+
|The basepath to use
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array key/value pair with the language file and real name
array key/value pair with the language file and real name
+
* '''Defined''' on line 1022 of libraries/joomla/language/language.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/language.php (line 1005)
+
* '''Referenced by'''
* see source code in [[jplatform:language/language.php#cl-1005|BitBucket]]
+
** [[JLanguageHelper::createLanguageList/11.1|JLanguageHelper::createLanguageList]]
===Referenced by===
+
** [[JLanguageHelper::getLanguages/11.1|JLanguageHelper::getLanguages]]
* [[JLanguageHelper::createLanguageList/11.1|JLanguageHelper::createLanguageList]]
 
* [[JLanguageHelper::getLanguages/11.1|JLanguageHelper::getLanguages]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLanguage::getKnownLanguages source code''' on [[jplatform:language/language.php#cl-1014|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLanguage/11.1|JLanguage]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
 +
* [[JLanguage::getKnownLanguages|Other versions of JLanguage::getKnownLanguages]]
 +
{{SeeAlso:JLanguage::getKnownLanguages}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::getKnownLanguages|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::getKnownLanguages|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLanguage/11.1|JLanguage]]
+
===User contributed notes===
* [[JLanguage::getKnownLanguages|Other versions of this method]]
 
{{SeeAlso:JLanguage::getKnownLanguages}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 50: Line 47:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLanguage]][[Category:JLanguage::getKnownLanguages]]</noinclude>
 
<noinclude>[[Category:JLanguage]][[Category:JLanguage::getKnownLanguages]]</noinclude>

Revision as of 21:17, 27 April 2011

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.

Joomla 11.1 JLanguage::getKnownLanguages[edit]

Description[edit]

Returns a list of known languages for an area.

Template:Description:JLanguage::getKnownLanguages [Edit Descripton]

public static function getKnownLanguages ($basePath=JPATH_BASE)
Parameter Type Default Description
$basePath string JPATH_BASE The basepath to use

See also[edit]

Template:SeeAlso:JLanguage::getKnownLanguages [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />