Difference between revisions of "JLanguage::getInstance"
From Joomla! Documentation
m (JoomlaWikiBot moved page JLanguage::getInstance/11.1 to API17:JLanguage::getInstance 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: | ||
Returns a language object. | Returns a language object. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function getInstance ( | public static function getInstance ( | ||
Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JLanguage::getInstance source code''' on [[jplatform:language/language.php#cl-250|BitBucket]] | * {{JVer|11.1}} '''JLanguage::getInstance source code''' on [[jplatform:language/language.php#cl-250|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::getInstance|Other versions of JLanguage::getInstance]] | + | * [[API17:JLanguage::getInstance|Other versions of JLanguage::getInstance]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLanguage::getInstance | category=JLanguage::getInstance | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:21, 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::getInstance[edit]
Description[edit]
Returns a language object.
public static function getInstance (
$lang
$debug=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$lang | string | The language to use. | |
$debug | boolean | false | The debug mode |
See also[edit]
- JLanguage::getInstance source code on BitBucket
- Class JLanguage
- Subpackage Language
- Other versions of JLanguage::getInstance
User contributed notes[edit]
Code Examples[edit]