JLanguage::hasKey: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Determines is a key exists. | Determines is a key exists. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function hasKey ($string) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' boolean True, if the key exists | |||
boolean True, if the key exists | * '''Defined''' on line 987 of libraries/joomla/language/language.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/language/language.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JLanguage::hasKey source code''' on [[jplatform:language/language.php#cl-979|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]] | |||
* | * [[API17:JLanguage::hasKey|Other versions of JLanguage::hasKey]] | ||
* [[JLanguage::hasKey|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLanguage::hasKey | category=JLanguage::hasKey | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:22, 25 March 2017
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