Liste de tous les membres
Documentation des constructeurs et destructeur
JWebClient::__construct |
( |
|
$userAgent = null , |
|
|
|
$acceptEncoding = null , |
|
|
|
$acceptLanguage = null |
|
) |
| |
Class constructor.
- Paramètres:
-
mixed | $userAgent | The optional user-agent string to parse. |
mixed | $acceptEncoding | The optional client accept encoding string to parse. |
mixed | $acceptLanguage | The optional client accept language string to parse. |
- Depuis:
- 11.3
Documentation des fonctions membres
JWebClient::__get |
( |
|
$name | ) |
|
Magic method to get an object property's value by name.
- Paramètres:
-
string | $name | Name of the property for which to return a value. |
- Renvoie:
- mixed The requested value if it exists.
- Depuis:
- 11.3
Références $name.
JWebClient::detectBrowser |
( |
|
$userAgent | ) |
|
|
protected |
Detects the client browser and version in a user agent string.
- Paramètres:
-
string | $userAgent | The user-agent string to parse. |
- Renvoie:
- void
- Depuis:
- 11.3
Références elseif.
JWebClient::detectEncoding |
( |
|
$acceptEncoding | ) |
|
|
protected |
Method to detect the accepted response encoding by the client.
- Paramètres:
-
string | $acceptEncoding | The client accept encoding string to parse. |
- Renvoie:
- void
- Depuis:
- 11.3
JWebClient::detectEngine |
( |
|
$userAgent | ) |
|
|
protected |
Detects the client rendering engine in a user agent string.
- Paramètres:
-
string | $userAgent | The user-agent string to parse. |
- Renvoie:
- void
- Depuis:
- 11.3
Références elseif.
JWebClient::detectLanguage |
( |
|
$acceptLanguage | ) |
|
|
protected |
Method to detect the accepted languages by the client.
- Paramètres:
-
mixed | $acceptLanguage | The client accept language string to parse. |
- Renvoie:
- void
- Depuis:
- 11.3
JWebClient::detectPlatform |
( |
|
$userAgent | ) |
|
|
protected |
Detects the client platform in a user agent string.
- Paramètres:
-
string | $userAgent | The user-agent string to parse. |
- Renvoie:
- void
- Depuis:
- 11.3
Références elseif.
Documentation des données membres
JWebClient::$acceptEncoding |
|
protected |
JWebClient::$acceptLanguage |
|
protected |
JWebClient::$browserVersion |
|
protected |
JWebClient::$detection = array() |
|
protected |
JWebClient::$encodings = array() |
|
protected |
JWebClient::$languages = array() |
|
protected |
JWebClient::$mobile = false |
|
protected |
const JWebClient::AMAYA = 16 |
const JWebClient::ANDROID = 9 |
const JWebClient::BLACKBERRY = 8 |
const JWebClient::CHROME = 19 |
const JWebClient::FIREFOX = 18 |
const JWebClient::GECKO = 13 |
const JWebClient::IE = 17 |
const JWebClient::IPAD = 5 |
const JWebClient::IPHONE = 4 |
const JWebClient::IPOD = 6 |
const JWebClient::KHTML = 15 |
const JWebClient::LINUX = 10 |
const JWebClient::MAC = 7 |
const JWebClient::OPERA = 21 |
const JWebClient::PRESTO = 14 |
const JWebClient::SAFARI = 20 |
const JWebClient::TRIDENT = 11 |
const JWebClient::WEBKIT = 12 |
const JWebClient::WINDOWS = 1 |
const JWebClient::WINDOWS_CE = 3 |
const JWebClient::WINDOWS_PHONE = 2 |
La documentation de cette classe a été générée à partir du fichier suivant :