Difference between revisions of "JBrowser:: construct"
From Joomla! Documentation
m (JoomlaWikiBot moved page JBrowser:: construct/11.1 to API17:JBrowser:: construct without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Create a browser instance (constructor). | Create a browser instance (constructor). | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function __construct ( | public function __construct ( | ||
Line 36: | Line 34: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JBrowser::__construct source code''' on [[jplatform:environment/browser.php#cl-179|BitBucket]] | * {{JVer|11.1}} '''JBrowser::__construct source code''' on [[jplatform:environment/browser.php#cl-179|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JBrowser | + | * {{JVer|11.1}} Class [[API17:JBrowser|JBrowser]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Environment | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]] |
− | * [[JBrowser::__construct|Other versions of JBrowser::__construct]] | + | * [[API17:JBrowser::__construct|Other versions of JBrowser::__construct]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JBrowser::__construct | category=JBrowser::__construct | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 54: | Line 50: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:21, 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.
JBrowser::__construct[edit]
Description[edit]
Create a browser instance (constructor).
public function __construct (
$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 187 of libraries/joomla/environment/browser.php
See also[edit]
- JBrowser::__construct source code on BitBucket
- Class JBrowser
- Subpackage Environment
- Other versions of JBrowser::__construct
User contributed notes[edit]
Code Examples[edit]