API17

Difference between revisions of "JBrowser::hasFeature"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Check the current browser capabilities.  
 
Check the current browser capabilities.  
  
{{Description:JBrowser::hasFeature}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JBrowser::hasFeature|Edit Descripton]]<nowiki>]</nowiki>
 
</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 22:
 
|-
 
|-
 
|}
 
|}
===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===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JBrowser::hasFeature source code''' on [[jplatform:environment/browser.php#cl-744|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JBrowser::hasFeature|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JBrowser|JBrowser]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[JBrowser/11.1|JBrowser]]
+
* [[API17:JBrowser::hasFeature|Other versions of JBrowser::hasFeature]]
* [[JBrowser::hasFeature|Other versions of this method]]
+
 
{{SeeAlso:JBrowser::hasFeature}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JBrowser::hasFeature
 
category=JBrowser::hasFeature
category=CodeExample
+
namespace=CodeExample
 
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>

Latest revision as of 21:22, 24 March 2017

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.


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]


User contributed notes[edit]

Code Examples[edit]