Actions

API17

Difference between revisions of "JLanguage::exists"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLanguage::exists|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLanguage::exists|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguage::exists ($lang, $basePath=JPATH_BASE)
+
public static function exists (
 +
        $lang
 +
        $basePath=JPATH_BASE
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 585 of libraries/joomla/language/language.php
===Defined in===
+
libraries/joomla/language/language.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLanguage::exists source code''' on [[jplatform:language/language.php#cl-577|BitBucket]]
 +
* {{JVer|11.1}} Class [[JLanguage/11.1|JLanguage]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
 +
* [[JLanguage::exists|Other versions of JLanguage::exists]]
 +
{{SeeAlso:JLanguage::exists}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::exists|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::exists|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLanguage/11.1|JLanguage]]
+
===User contributed notes===
* [[JLanguage::exists|Other versions of this method]]
+
{{SeeAlso:JLanguage::exists}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 50: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JLanguage]][[Category:JLanguage::exists]]</noinclude>
 
<noinclude>[[Category:JLanguage]][[Category:JLanguage::exists]]</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::exists

Description

Check if a language exists.

Description:JLanguage::exists [Edit Descripton]

public static function exists (
        $lang
        $basePath=JPATH_BASE
)
Parameter Type Default Description
$lang
$basePath JPATH_BASE
  • Returns
  • Defined on line 585 of libraries/joomla/language/language.php

See also

SeeAlso:JLanguage::exists [Edit See Also]

User contributed notes

<CodeExamplesForm />