API17

JLanguage::hasKey: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
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.  


{{Description:JLanguage::hasKey}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JLanguage::hasKey|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JLanguage->hasKey ($string)
public function hasKey ($string)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 27: Line 22:
|-
|-
|}
|}
===Returns===
* '''Returns''' boolean True, if the key exists
boolean True, if the key exists
* '''Defined''' on line 987 of libraries/joomla/language/language.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/language.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JLanguage::hasKey source code''' on [[jplatform:language/language.php#cl-979|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JLanguage::hasKey|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* [[JLanguage/11.1|JLanguage]]
* [[API17:JLanguage::hasKey|Other versions of JLanguage::hasKey]]
* [[JLanguage::hasKey|Other versions of this method]]
 
{{SeeAlso:JLanguage::hasKey}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JLanguage::hasKey
category=JLanguage::hasKey
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JLanguage]][[Category:JLanguage::hasKey]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:22, 25 March 2017

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