API17:JPlugin::loadLanguage
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JPlugin::loadLanguage|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JPlugin::loadLanguage|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function loadLanguage ( |
| + | $extension= '' | ||
| + | $basePath=JPATH_ADMINISTRATOR | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 29: | Line 29: | ||
|string | |string | ||
|JPATH_ADMINISTRATOR | |JPATH_ADMINISTRATOR | ||
| − | |The basepath to use | + | |The basepath to use |
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True, if the file has successfully loaded. | |
| − | boolean True, if the file has successfully loaded. | + | * '''Defined''' on line 91 of libraries/joomla/plugin/plugin.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/plugin/plugin.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JPlugin::loadLanguage source code''' on [[jplatform:plugin/plugin.php#cl-83|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JPlugin/11.1|JPlugin]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Plugin/11.1|Plugin]] | ||
| + | * [[JPlugin::loadLanguage|Other versions of JPlugin::loadLanguage]] | ||
| + | {{SeeAlso:JPlugin::loadLanguage}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JPlugin::loadLanguage|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JPlugin::loadLanguage|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 52: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JPlugin]][[Category:JPlugin::loadLanguage]]</noinclude> | <noinclude>[[Category:JPlugin]][[Category:JPlugin::loadLanguage]]</noinclude> | ||
Revision as of 21:29, 27 April 2011
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.
JPlugin::loadLanguage
Description
Loads the plugin language file.
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
-
JPlugin::loadLanguage source code on BitBucket
-
Class JPlugin
-
Subpackage Plugin
- Other versions of JPlugin::loadLanguage
SeeAlso:JPlugin::loadLanguage [Edit See Also]
User contributed notes
<CodeExamplesForm />
