API17

Difference between revisions of "JPlugin::loadLanguage"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JPlugin->loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR)
+
public JPlugin::loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
boolean True, if the file has successfully loaded.
 
boolean True, if the file has successfully loaded.
 
===Defined in===
 
===Defined in===
libraries/joomla/plugin/plugin.php
+
libraries/joomla/plugin/plugin.php (line 94)
 +
* see source code in [[jplatform:plugin/plugin.php#cl-94|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:05, 23 April 2011

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.

Joomla 11.1 JPlugin::loadLanguage[edit]

Description[edit]

Loads the plugin language file.

Template:Description:JPlugin::loadLanguage [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

public JPlugin::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[edit]

boolean True, if the file has successfully loaded.

Defined in[edit]

libraries/joomla/plugin/plugin.php (line 94)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JPlugin::loadLanguage

Examples[edit]

<CodeExamplesForm />