API17

Difference between revisions of "JLanguage::setLanguage"

From Joomla! Documentation

m (JoomlaWikiBot moved page JLanguage::setLanguage/11.1 to API17:JLanguage::setLanguage without leaving a redirect: Robot: Moved page)
m (preparing for archive only)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Set the language attributes to the given language.  
 
Set the language attributes to the given language.  
  
{{Description:JLanguage::setLanguage}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLanguage::setLanguage|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function setLanguage ($lang)
 
public function setLanguage ($lang)
Line 28: Line 26:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JLanguage::setLanguage source code''' on [[jplatform:language/language.php#cl-1050|BitBucket]]
 
* {{JVer|11.1}} '''JLanguage::setLanguage source code''' on [[jplatform:language/language.php#cl-1050|BitBucket]]
* {{JVer|11.1}} Class [[JLanguage/11.1|JLanguage]]
+
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]]
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* [[JLanguage::setLanguage|Other versions of JLanguage::setLanguage]]
+
* [[API17:JLanguage::setLanguage|Other versions of JLanguage::setLanguage]]
{{SeeAlso:JLanguage::setLanguage}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::setLanguage|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLanguage::setLanguage
 
category=JLanguage::setLanguage
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 46: Line 42:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLanguage]][[Category:JLanguage::setLanguage]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:22, 24 March 2017

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::setLanguage[edit]

Description[edit]

Set the language attributes to the given language.


public function setLanguage ($lang)
Parameter Type Default Description
$lang
  • Returns
  • Defined on line 1058 of libraries/joomla/language/language.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]