JBrowser/1.5

From Joomla! Documentation
< JBrowser(Difference between revisions)
Jump to: navigation, search
(Layout updates)
m (See also: fixing link to API)
 
Line 107: Line 107:
 
<source lang="php">jimport( 'joomla.environment.browser' );</source>
 
<source lang="php">jimport( 'joomla.environment.browser' );</source>
 
===See also===
 
===See also===
* {{JVer|1.5}} '''JBrowser''' on [http://api.joomla.org/Joomla-Framework/Environment/JBrowser.html api.joomla.org]
+
* {{JVer|1.5}} '''JBrowser''' on [http://api.joomla.org/1.5/Joomla-Framework/Environment/JBrowser.html api.joomla.org]
 
* {{JVer|1.5}} '''JBrowser source code''' on [[jframework15:environment/browser.php|JoomlaCode]]
 
* {{JVer|1.5}} '''JBrowser source code''' on [[jframework15:environment/browser.php|JoomlaCode]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Environment/1.5|Environment]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Environment/1.5|Environment]]

Latest revision as of 13:04, 13 February 2013

[edit] Joomla 1.5 JBrowser

[edit] Description

Description:JBrowser [Edit Descripton]

[edit] Methods

Visibility Method name Description
public __construct Create a browser instance (Constructor).
public _setPlatform Match the platform of the browser.
public getAgentString Return the full browser agent string.
public getBrowser Retrieve the current browser.
public getFeature Retrieve the current browser capability.
public getHTTPProtocol Returns the server protocol in use on the current server.
public getInstance Returns a reference to the global Browser object, only creating it if it doesn't already exist.
public getMajor Retrieve the current browser's major version.
public getMinor Retrieve the current browser's minor version.
public getPlatform Return the currently matched platform.
public getQuirk Retrieve unique behavior for the current browser.
public getVersion Retrieve the current browser's version.
public hasFeature Check the current browser capabilities.
public hasQuirk Check unique behavior for the current browser.
public isBrowser Determine if the given browser is the same as the current.
public isRobot Determines if the browser is a robot or not.
public isSSLConnection Determine if we are using a secure (SSL) connection.
public isViewable Determines if a browser can display a given MIME type.
public match Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.
public setBrowser Sets the current browser.
public setFeature Set capabilities for the current browser.
public setQuirk Set unique behavior for the current browser.
  • Defined in libraries/joomla/environment/browser.php
  • Extends JObject

[edit] Importing

jimport( 'joomla.environment.browser' );

[edit] See also

SeeAlso:JBrowser [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox