Actions

API17

Difference between revisions of "JLanguage::getLanguagePath"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLanguage::getLanguagePath|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLanguage::getLanguagePath|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguage::getLanguagePath ($basePath=JPATH_BASE, $language=null)
+
public static function getLanguagePath (
 +
        $basePath=JPATH_BASE
 +
        $language=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 29:
 
|string
 
|string
 
|null
 
|null
|The language tag  
+
|The language tag
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string language related path or null
string language related path or null
+
* '''Defined''' on line 1039 of libraries/joomla/language/language.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/language.php (line 1021)
+
* see source code in [[jplatform:language/language.php#cl-1021|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLanguage::getLanguagePath source code''' on [[jplatform:language/language.php#cl-1031|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLanguage/11.1|JLanguage]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
 +
* [[JLanguage::getLanguagePath|Other versions of JLanguage::getLanguagePath]]
 +
{{SeeAlso:JLanguage::getLanguagePath}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::getLanguagePath|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::getLanguagePath|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLanguage/11.1|JLanguage]]
+
===User contributed notes===
* [[JLanguage::getLanguagePath|Other versions of this method]]
+
{{SeeAlso:JLanguage::getLanguagePath}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLanguage]][[Category:JLanguage::getLanguagePath]]</noinclude>
 
<noinclude>[[Category:JLanguage]][[Category:JLanguage::getLanguagePath]]</noinclude>

Revision as of 21:17, 27 April 2011

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::getLanguagePath

Description

Get the path to a language.

Description:JLanguage::getLanguagePath [Edit Descripton]

public static function getLanguagePath (
        $basePath=JPATH_BASE
        $language=null
)
Parameter Type Default Description
$basePath string JPATH_BASE The basepath to use
$language string null The language tag
  • Returns string language related path or null
  • Defined on line 1039 of libraries/joomla/language/language.php
  • Since Joomla 11.1

See also

SeeAlso:JLanguage::getLanguagePath [Edit See Also]

User contributed notes

<CodeExamplesForm />