API17

Difference between revisions of "JBrowser::hasFeature"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JBrowser::hasFeature|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JBrowser::hasFeature|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JBrowser::hasFeature ($feature)
+
public function hasFeature ($feature)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean Does the browser have the capability set?
boolean Does the browser have the capability set?
+
* '''Defined''' on line 752 of libraries/joomla/environment/browser.php
===Defined in===
 
libraries/joomla/environment/browser.php (line 752)
 
* see source code in [[jplatform:environment/browser.php#cl-752|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JBrowser::hasFeature source code''' on [[jplatform:environment/browser.php#cl-744|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JBrowser|JBrowser]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
 +
* [[API17:JBrowser::hasFeature|Other versions of JBrowser::hasFeature]]
 +
{{SeeAlso:JBrowser::hasFeature}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::hasFeature|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::hasFeature|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JBrowser/11.1|JBrowser]]
+
===User contributed notes===
* [[JBrowser::hasFeature|Other versions of this method]]
 
{{SeeAlso:JBrowser::hasFeature}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 46: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JBrowser]][[Category:JBrowser::hasFeature]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 19:46, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JBrowser::hasFeature[edit]

Description[edit]

Check the current browser capabilities.

Template:Description:JBrowser::hasFeature [Edit Descripton]

public function hasFeature ($feature)
Parameter Type Default Description
$feature string The capability to check.
  • Returns boolean Does the browser have the capability set?
  • Defined on line 752 of libraries/joomla/environment/browser.php

See also[edit]

Template:SeeAlso:JBrowser::hasFeature [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />