Difference between revisions of "JLanguage::setDefault"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Set the default language code. | Set the default language code. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function setDefault ($lang) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string Previous value | |
− | string Previous value | + | * '''Defined''' on line 949 of libraries/joomla/language/language.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/language/language.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JLanguage::setDefault source code''' on [[jplatform:language/language.php#cl-941|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]] | |
− | * | + | * [[API17:JLanguage::setDefault|Other versions of JLanguage::setDefault]] |
− | * [[JLanguage::setDefault|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLanguage::setDefault | category=JLanguage::setDefault | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
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::setDefault[edit]
Description[edit]
Set the default language code.
public function setDefault ($lang)
Parameter | Type | Default | Description |
---|---|---|---|
$lang |
See also[edit]
- JLanguage::setDefault source code on BitBucket
- Class JLanguage
- Subpackage Language
- Other versions of JLanguage::setDefault
User contributed notes[edit]
Code Examples[edit]