Detects the client browser and version in a user agent string.
void
detectBrowser
(string $userAgent)
-
string
$userAgent: The user-agent string to parse.
Method to detect the accepted response encoding by the client.
void
detectEncoding
(string $acceptEncoding)
-
string
$acceptEncoding: The client accept encoding string to parse.
Detects the client rendering engine in a user agent string.
void
detectEngine
(string $userAgent)
-
string
$userAgent: The user-agent string to parse.
Method to detect the accepted languages by the client.
void
detectLanguage
(mixed $acceptLanguage)
-
mixed
$acceptLanguage: The client accept language string to parse.
Detects the client platform in a user agent string.
void
detectPlatform
(string $userAgent)
-
string
$userAgent: The user-agent string to parse.
Determines if the browser is a robot or not.
void
detectRobot
(string $userAgent)
-
string
$userAgent: The user-agent string to parse.
Class constructor.
JApplicationWebClient
__construct
([string $userAgent = null], [string $acceptEncoding = null], [string $acceptLanguage = null])
-
string
$userAgent: The optional user-agent string to parse.
-
string
$acceptEncoding: The optional client accept encoding string to parse.
-
string
$acceptLanguage: The optional client accept language string to parse.
Redefined in descendants as:
Magic method to get an object property's value by name.
mixed
__get
(string $name)
-
string
$name: Name of the property for which to return a value.