Actions

API17

Difference between revisions of "JBrowser::match"

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::match|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JBrowser::match|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JBrowser::match ($userAgent=null, $accept=null)
+
public function match (
 +
        $userAgent=null
 +
        $accept=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 237 of libraries/joomla/environment/browser.php
===Defined in===
+
libraries/joomla/environment/browser.php (line 237)
+
* see source code in [[jplatform:environment/browser.php#cl-237|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JBrowser::match source code''' on [[jplatform:environment/browser.php#cl-229|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JBrowser|JBrowser]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
 +
* [[API17:JBrowser::match|Other versions of JBrowser::match]]
 +
{{SeeAlso:JBrowser::match}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::match|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::match|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JBrowser/11.1|JBrowser]]
+
===User contributed notes===
* [[JBrowser::match|Other versions of this method]]
+
{{SeeAlso:JBrowser::match}}
+
===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::match]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:46, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JBrowser::match

Description

Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.

Description:JBrowser::match [Edit Descripton]

public function match (
        $userAgent=null
        $accept=null
)
Parameter Type Default Description
$userAgent string null The browser string to parse.
$accept string null The HTTP_ACCEPT settings to use.
  • Returns
  • Defined on line 237 of libraries/joomla/environment/browser.php

See also

SeeAlso:JBrowser::match [Edit See Also]

User contributed notes

<CodeExamplesForm />