JPlugin::loadLanguage
From Joomla! Documentation
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.
JPlugin::loadLanguage[edit]
Description[edit]
Loads the plugin language file.
Template:Description:JPlugin::loadLanguage [Edit Descripton]
public function loadLanguage (
$extension= ''
$basePath=JPATH_ADMINISTRATOR
)
Parameter | Type | Default | Description |
---|---|---|---|
$extension | string | The extension for which a language file should be loaded | |
$basePath | string | JPATH_ADMINISTRATOR | The basepath to use |
- Returns boolean True, if the file has successfully loaded.
- Defined on line 91 of libraries/joomla/plugin/plugin.php
- Since
See also[edit]
- JPlugin::loadLanguage source code on BitBucket
- Class JPlugin
- Subpackage Plugin
- Other versions of JPlugin::loadLanguage
Template:SeeAlso:JPlugin::loadLanguage [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />