API17

Difference between revisions of "JBrowser::setFeature"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JBrowser::setFeature|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JBrowser::setFeature|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JBrowser::setFeature ($feature, $value=true)
+
public function setFeature (
 +
        $feature
 +
        $value=true
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 740 of libraries/joomla/environment/browser.php
===Defined in===
 
libraries/joomla/environment/browser.php (line 740)
 
* see source code in [[jplatform:environment/browser.php#cl-740|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JBrowser::setFeature source code''' on [[jplatform:environment/browser.php#cl-732|BitBucket]]
 +
* {{JVer|11.1}} Class [[JBrowser/11.1|JBrowser]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JBrowser::setFeature|Other versions of JBrowser::setFeature]]
 +
{{SeeAlso:JBrowser::setFeature}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::setFeature|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::setFeature|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JBrowser/11.1|JBrowser]]
+
===User contributed notes===
* [[JBrowser::setFeature|Other versions of this method]]
 
{{SeeAlso:JBrowser::setFeature}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JBrowser]][[Category:JBrowser::setFeature]]</noinclude>
 
<noinclude>[[Category:JBrowser]][[Category:JBrowser::setFeature]]</noinclude>

Revision as of 20:12, 27 April 2011

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::setFeature[edit]

Description[edit]

Set capabilities for the current browser.

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

public function setFeature (
        $feature
        $value=true
)
Parameter Type Default Description
$feature string The capability to set.
$value string true Special capability parameter.
  • Returns
  • Defined on line 740 of libraries/joomla/environment/browser.php

See also[edit]

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

User contributed notes[edit]

<CodeExamplesForm />