API17

JLanguage::getLanguagePath: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Get the path to a language.  
Get the path to a language.  


{{Description:JLanguage::getLanguagePath}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JLanguage::getLanguagePath|Edit Descripton]]<nowiki>]</nowiki>
</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 27:
|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
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JLanguage::getLanguagePath source code''' on [[jplatform:language/language.php#cl-1031|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JLanguage::getLanguagePath|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* [[JLanguage/11.1|JLanguage]]
* [[API17:JLanguage::getLanguagePath|Other versions of JLanguage::getLanguagePath]]
* [[JLanguage::getLanguagePath|Other versions of this method]]
 
{{SeeAlso:JLanguage::getLanguagePath}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JLanguage::getLanguagePath
category=JLanguage::getLanguagePath
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JLanguage]][[Category:JLanguage::getLanguagePath]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:21, 25 March 2017

Joomla 11.1 JLanguage::getLanguagePath

Description

Get the path to a language.


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


User contributed notes

Code Examples