Actions

API17

Difference between revisions of "JLanguageHelper::detectLanguage"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLanguageHelper::detectLanguage|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLanguageHelper::detectLanguage|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguageHelper::detectLanguage ()
+
public static function detectLanguage ()
 
</source>
 
</source>
===Returns===
+
* '''Returns''' string locale or null if not found
string locale or null if not found
+
* '''Defined''' on line 75 of libraries/joomla/language/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/helper.php (line 73)
+
* see source code in [[jplatform:language/helper.php#cl-73|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLanguageHelper::detectLanguage source code''' on [[jplatform:language/helper.php#cl-67|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLanguageHelper/11.1|JLanguageHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
 +
* [[JLanguageHelper::detectLanguage|Other versions of JLanguageHelper::detectLanguage]]
 +
{{SeeAlso:JLanguageHelper::detectLanguage}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLanguageHelper::detectLanguage|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLanguageHelper::detectLanguage|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLanguageHelper/11.1|JLanguageHelper]]
+
===User contributed notes===
* [[JLanguageHelper::detectLanguage|Other versions of this method]]
+
{{SeeAlso:JLanguageHelper::detectLanguage}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 35: Line 31:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLanguageHelper]][[Category:JLanguageHelper::detectLanguage]]</noinclude>
 
<noinclude>[[Category:JLanguageHelper]][[Category:JLanguageHelper::detectLanguage]]</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::detectLanguage

Description

Tries to detect the language.

Description:JLanguageHelper::detectLanguage [Edit Descripton]

public static function detectLanguage ()
  • Returns string locale or null if not found
  • Defined on line 75 of libraries/joomla/language/helper.php
  • Since Joomla 11.1

See also

SeeAlso:JLanguageHelper::detectLanguage [Edit See Also]

User contributed notes

<CodeExamplesForm />