API17

JLanguage::hasKey: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
Line 4: Line 4:
Determines is a key exists.  
Determines is a key exists.  


{{Description:JLanguage::hasKey}}
{{subst:Description:JLanguage::hasKey}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JLanguage::hasKey|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function hasKey ($string)
public function hasKey ($string)
Line 32: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* [[API17:JLanguage::hasKey|Other versions of JLanguage::hasKey]]
* [[API17:JLanguage::hasKey|Other versions of JLanguage::hasKey]]
{{SeeAlso:JLanguage::hasKey}}
{{subst:SeeAlso:JLanguage::hasKey}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLanguage::hasKey|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:47, 24 March 2017

Joomla 11.1 JLanguage::hasKey

Description

Determines is a key exists.

{{subst:Description:JLanguage::hasKey}}

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

{{subst:SeeAlso:JLanguage::hasKey}}

User contributed notes

<CodeExamplesForm />