\JWebClientInspector
JWebClientInspector
Synopsis
class JWebClientInspector
extends JApplicationWebClient
{
- // Inherited constants from JApplicationWebClient
- const WINDOWS = 1;
- const WINDOWS_PHONE = 2;
- const WINDOWS_CE = 3;
- const IPHONE = 4;
- const IPAD = 5;
- const IPOD = 6;
- const MAC = 7;
- const BLACKBERRY = 8;
- const ANDROID = 9;
- const LINUX = 10;
- const TRIDENT = 11;
- const WEBKIT = 12;
- const GECKO = 13;
- const PRESTO = 14;
- const KHTML = 15;
- const AMAYA = 16;
- const IE = 17;
- const FIREFOX = 18;
- const CHROME = 19;
- const SAFARI = 20;
- const OPERA = 21;
- const ANDROIDTABLET = 22;
- // Inherited members from JApplicationWebClient
- protected $platform;
- protected $mobile;
- protected $engine;
- protected $browser;
- protected $browserVersion;
- protected $languages;
- protected $encodings;
- protected $userAgent;
- protected $acceptEncoding;
- protected $acceptLanguage;
- protected $robot;
- protected $detection;
- // methods
- public void detectRequestURI()
- public array detectBrowser()
- public string detectEngine()
- public string detectPlatform()
- public string detectEncoding()
- public string detectLanguage()
- public void detectRobot()
- public mixed getProperty()
- public void loadClientInformation()
- public void fetchConfigurationData()
- public void loadSystemURIs()
- public string testHelperClient()
- // Inherited methods from JApplicationWebClient
- public void __construct()
- public mixed __get()
- protected void detectBrowser()
- protected void detectEncoding()
- protected void detectEngine()
- protected void detectLanguage()
- protected void detectPlatform()
- protected void detectRobot()
Hierarchy
Extends
Constants
Name | Value |
---|---|
WINDOWS | 1 |
WINDOWS_PHONE | 2 |
WINDOWS_CE | 3 |
IPHONE | 4 |
IPAD | 5 |
IPOD | 6 |
MAC | 7 |
BLACKBERRY | 8 |
ANDROID | 9 |
LINUX | 10 |
TRIDENT | 11 |
WEBKIT | 12 |
GECKO | 13 |
PRESTO | 14 |
KHTML | 15 |
AMAYA | 16 |
IE | 17 |
FIREFOX | 18 |
CHROME | 19 |
SAFARI | 20 |
OPERA | 21 |
ANDROIDTABLET | 22 |
Members
protected
- $acceptEncoding — string
- $acceptLanguage — string
- $browser — integer
- $browserVersion — string
- $detection — array
- $encodings — array
- $engine — integer
- $languages — array
- $mobile — boolean
- $platform — integer
- $robot — boolean
- $userAgent — string
Methods
public
- detectBrowser() — Allows public access to protected method.
- detectEncoding() — Allows public access to protected method.
- detectEngine() — Allows public access to protected method.
- detectLanguage() — Allows public access to protected method.
- detectPlatform() — Allows public access to protected method.
- detectRequestURI() — Allows public access to protected method.
- detectRobot() — Allows public access to protected method.
- fetchConfigurationData() — fetchConfigurationData()
- getProperty() — Method for inspecting protected variables.
- loadClientInformation() — loadClientInformation()
- loadSystemURIs() — loadSystemURIs()
- testHelperClient() — loadSystemURIs()
Inherited from JApplicationWebClient
protected
- detectBrowser() — Detects the client browser and version in a user agent string.
- detectEncoding() — Method to detect the accepted response encoding by the client.
- detectEngine() — Detects the client rendering engine in a user agent string.
- detectLanguage() — Method to detect the accepted languages by the client.
- detectPlatform() — Detects the client platform in a user agent string.
- detectRobot() — Determines if the browser is a robot or not.
public
- __get() — Magic method to get an object property's value by name.