JLanguage::exists
From Joomla! Documentation
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.
JLanguage::exists[edit]
Description[edit]
Check if a language exists.
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[edit]
JLanguage::exists source code on BitBucket
Class JLanguage
Subpackage Language
- Other versions of JLanguage::exists
User contributed notes[edit]
Code Examples[edit]