Difference between revisions of "JBrowser::match"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user 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> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function match ( |
+ | $userAgent=null | ||
+ | $accept=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 237 of libraries/joomla/environment/browser.php | |
− | |||
− | libraries/joomla/environment/browser.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JBrowser::match source code''' on [[jplatform:environment/browser.php#cl-229|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JBrowser/11.1|JBrowser]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]] | ||
+ | * [[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> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 50: | Line 51: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JBrowser]][[Category:JBrowser::match]]</noinclude> | <noinclude>[[Category:JBrowser]][[Category:JBrowser::match]]</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.
JBrowser::match[edit]
Description[edit]
Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.
Template: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[edit]
- JBrowser::match source code on BitBucket
- Class JBrowser
- Subpackage Environment
- Other versions of JBrowser::match
Template:SeeAlso:JBrowser::match [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />