API17

API17:JPlugin::loadLanguage

From Joomla! Documentation

Joomla 11.1 JPlugin::loadLanguage

Description

Loads the plugin language file.


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 Joomla 11.1

See also


User contributed notes

Code Examples