ILIAS
Release_4_4_x_branch Revision 61816
|
Browser check. More...
Public Member Functions | |
__construct () | |
Constructor. | |
isMobile () | |
isMobile | |
__call ($name, $arguments) | |
returnArray () | |
getAgent () | |
getVersion ($a_as_array=true) | |
getPlatform () | |
isLinux () | |
isUnix () | |
isBeos () | |
isMac () | |
isWindows () | |
isIE () | |
isNetscape () | |
means: Netscape/Mozilla without Gecko engine | |
isMozilla () | |
means: Netscape/Mozilla with Gecko engine | |
isOpera () | |
isSafari () | |
isFirefox () |
Protected Member Functions | |
isDevice ($device) |
Protected Attributes | |
$BROWSER_AGENT | |
$BROWSER_VER | |
$BROWSER_PLATFORM | |
$br | |
$p | |
$data | |
$accept | |
$userAgent | |
$isMobile = false | |
$isAndroid = null | |
$isAndroidtablet = null | |
$isIphone = null | |
$isIpad = null | |
$isBlackberry = null | |
$isOpera = null | |
$isPalm = null | |
$isWindows = null | |
$isWindowsphone = null | |
$isGeneric = null | |
$devices |
Browser check.
Includes parts of php-mobile-project: Copyright (c) 2011, vic.stanciu Includes parts of http://detectmobilebrowsers.com/
Definition at line 31 of file class.ilBrowser.php.
ilBrowser::__construct | ( | ) |
Constructor.
public
Definition at line 72 of file class.ilBrowser.php.
References isDevice(), and isMobile().
ilBrowser::__call | ( | $name, | |
$arguments | |||
) |
Definition at line 238 of file class.ilBrowser.php.
References isDevice().
ilBrowser::getAgent | ( | ) |
Definition at line 274 of file class.ilBrowser.php.
References $BROWSER_AGENT.
Referenced by isFirefox(), isIE(), isMozilla(), isNetscape(), isOpera(), isSafari(), and returnArray().
ilBrowser::getPlatform | ( | ) |
Definition at line 284 of file class.ilBrowser.php.
References $BROWSER_PLATFORM.
Referenced by isBeos(), isLinux(), isMac(), isUnix(), isWindows(), and returnArray().
ilBrowser::getVersion | ( | $a_as_array = true | ) |
Definition at line 279 of file class.ilBrowser.php.
Referenced by returnArray().
ilBrowser::isBeos | ( | ) |
Definition at line 313 of file class.ilBrowser.php.
References getPlatform().
|
protected |
Definition at line 251 of file class.ilBrowser.php.
References $userAgent.
Referenced by __call(), and __construct().
ilBrowser::isFirefox | ( | ) |
Definition at line 419 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isIE | ( | ) |
Definition at line 349 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isLinux | ( | ) |
Definition at line 289 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::isMac | ( | ) |
Definition at line 325 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::isMobile | ( | ) |
isMobile
Definition at line 223 of file class.ilBrowser.php.
Referenced by __construct(), and ilObjectListGUI\modifySAHSlaunch().
ilBrowser::isMozilla | ( | ) |
means: Netscape/Mozilla with Gecko engine
Definition at line 383 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isNetscape | ( | ) |
means: Netscape/Mozilla without Gecko engine
Definition at line 366 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isOpera | ( | ) |
Definition at line 395 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isSafari | ( | ) |
Definition at line 407 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isUnix | ( | ) |
Definition at line 301 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::isWindows | ( | ) |
Definition at line 337 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::returnArray | ( | ) |
Definition at line 263 of file class.ilBrowser.php.
References $data, getAgent(), getPlatform(), and getVersion().
|
protected |
Definition at line 39 of file class.ilBrowser.php.
|
protected |
Definition at line 36 of file class.ilBrowser.php.
|
protected |
Definition at line 33 of file class.ilBrowser.php.
Referenced by getAgent().
|
protected |
Definition at line 35 of file class.ilBrowser.php.
Referenced by getPlatform().
|
protected |
Definition at line 34 of file class.ilBrowser.php.
|
protected |
Definition at line 38 of file class.ilBrowser.php.
Referenced by returnArray().
|
protected |
Definition at line 52 of file class.ilBrowser.php.
|
protected |
Definition at line 42 of file class.ilBrowser.php.
|
protected |
Definition at line 43 of file class.ilBrowser.php.
|
protected |
Definition at line 46 of file class.ilBrowser.php.
|
protected |
Definition at line 51 of file class.ilBrowser.php.
|
protected |
Definition at line 45 of file class.ilBrowser.php.
|
protected |
Definition at line 44 of file class.ilBrowser.php.
|
protected |
Definition at line 41 of file class.ilBrowser.php.
|
protected |
Definition at line 47 of file class.ilBrowser.php.
|
protected |
Definition at line 48 of file class.ilBrowser.php.
|
protected |
Definition at line 49 of file class.ilBrowser.php.
|
protected |
Definition at line 50 of file class.ilBrowser.php.
|
protected |
Definition at line 37 of file class.ilBrowser.php.
|
protected |
Definition at line 40 of file class.ilBrowser.php.
Referenced by isDevice().