Difference between revisions of "JLanguage::load"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JLanguage::load/11.1 to API17:JLanguage::load without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 19:27, 10 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JLanguage::load


Loads a single language file and appends the results to the existing strings.

Description:JLanguage::load [Edit Descripton]

public function load (
        $extension= 'joomla'
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
$default boolean true Flag that force the default language to be loaded if the current does not exist
  • Returns boolean True, if the file has successfully loaded.
  • Defined on line 622 of libraries/joomla/language/language.php
  • Since Joomla 11.1

See also

SeeAlso:JLanguage::load [Edit See Also]

User contributed notes

<CodeExamplesForm />