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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<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 | + | * {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Language | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]] |
− | * [[JLanguage::setLanguage|Other versions of JLanguage::setLanguage]] | + | * [[API17:JLanguage::setLanguage|Other versions of JLanguage::setLanguage]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLanguage::setLanguage | category=JLanguage::setLanguage | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 46: | Line 42: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <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.
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]
- JLanguage::setLanguage source code on BitBucket
- Class JLanguage
- Subpackage Language
- Other versions of JLanguage::setLanguage
User contributed notes[edit]
Code Examples[edit]