Actions

API17

Difference between revisions of "JBrowser::getInstance"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 35: Line 35:
 
* '''Defined''' on line 200 of libraries/joomla/environment/browser.php
 
* '''Defined''' on line 200 of libraries/joomla/environment/browser.php
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JApplication::redirect/11.1|JApplication::redirect]]
+
** [[API17:JApplication::redirect|JApplication::redirect]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JBrowser::getInstance source code''' on [[jplatform:environment/browser.php#cl-192|BitBucket]]
 
* {{JVer|11.1}} '''JBrowser::getInstance source code''' on [[jplatform:environment/browser.php#cl-192|BitBucket]]
* {{JVer|11.1}} Class [[JBrowser/11.1|JBrowser]]
+
* {{JVer|11.1}} Class [[API17:JBrowser|JBrowser]]
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[JBrowser::getInstance|Other versions of JBrowser::getInstance]]
+
* [[API17:JBrowser::getInstance|Other versions of JBrowser::getInstance]]
 
{{SeeAlso:JBrowser::getInstance}}
 
{{SeeAlso:JBrowser::getInstance}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 56: Line 56:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JBrowser]][[Category:JBrowser::getInstance]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:45, 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::getInstance

Description

Returns the global Browser object, only creating it if it doesn't already exist.

Description:JBrowser::getInstance [Edit Descripton]

public static function getInstance (
        $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 The Browser object.
  • Defined on line 200 of libraries/joomla/environment/browser.php
  • Referenced by

See also

SeeAlso:JBrowser::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />