API17

API17:JLanguage::hasKey

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples