JLanguage::load/1.5
From Joomla! Documentation
JLanguage::load
Description
Loads a single language file and appends the results to the existing strings.
Description:JLanguage::load [Edit Descripton]
public function load ( $extension= 'joomla' $basePath=JPATH_BASE $lang=null $reload=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $extension | string | 'joomla' | The extension for which a language file should be loaded |
| $basePath | string | JPATH_BASE | The basepath to use |
| $lang | string | null | The language to load, default null for the current language |
| $reload | boolean | false | Flag that will force a language to be reloaded if set to true |
- Returns boolean True, if the file has successfully loaded.
- Defined on line 282 of libraries/joomla/language/language.php
- Since
See also
-
JLanguage::load on api.joomla.org
-
JLanguage source code on JoomlaCode
-
Class JLanguage
-
Subpackage Language
- Other versions of JLanguage::load
SeeAlso:JLanguage::load [Edit See Also]
User contributed notes
<CodeExamplesForm />