API17:JLanguage::hasKey
From Joomla! Documentation
JLanguage::hasKey
Description
Determines is a key exists.
public function hasKey ($string)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $string | key | $key The key to check |
- Returns boolean True, if the key exists
- Defined on line 987 of libraries/joomla/language/language.php
- Since

See also
JLanguage::hasKey source code on BitBucket
Class JLanguage
Subpackage Language- Other versions of JLanguage::hasKey
User contributed notes
Code Examples