ILIAS
Release_4_2_x_branch Revision 61807
|
Browser check. More...
Public Member Functions | |
__construct () | |
Constructor. | |
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
Definition at line 28 of file class.ilBrowser.php.
ilBrowser::__construct | ( | ) |
Constructor.
public
Definition at line 69 of file class.ilBrowser.php.
References isDevice(), and isMobile().
ilBrowser::__call | ( | $name, | |
$arguments | |||
) |
Definition at line 222 of file class.ilBrowser.php.
References isDevice().
ilBrowser::getAgent | ( | ) |
Definition at line 258 of file class.ilBrowser.php.
References $BROWSER_AGENT.
Referenced by isFirefox(), isIE(), isMozilla(), isNetscape(), isOpera(), isSafari(), and returnArray().
ilBrowser::getPlatform | ( | ) |
Definition at line 268 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 263 of file class.ilBrowser.php.
Referenced by returnArray().
ilBrowser::isBeos | ( | ) |
Definition at line 297 of file class.ilBrowser.php.
References getPlatform().
|
protected |
Definition at line 235 of file class.ilBrowser.php.
References $userAgent.
Referenced by __call(), and __construct().
ilBrowser::isFirefox | ( | ) |
Definition at line 403 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isIE | ( | ) |
Definition at line 333 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isLinux | ( | ) |
Definition at line 273 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::isMac | ( | ) |
Definition at line 309 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::isMobile | ( | ) |
Definition at line 217 of file class.ilBrowser.php.
References $isMobile.
Referenced by __construct().
ilBrowser::isMozilla | ( | ) |
means: Netscape/Mozilla with Gecko engine
Definition at line 367 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isNetscape | ( | ) |
means: Netscape/Mozilla without Gecko engine
Definition at line 350 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isOpera | ( | ) |
Definition at line 379 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isSafari | ( | ) |
Definition at line 391 of file class.ilBrowser.php.
References getAgent().
ilBrowser::isUnix | ( | ) |
Definition at line 285 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::isWindows | ( | ) |
Definition at line 321 of file class.ilBrowser.php.
References getPlatform().
ilBrowser::returnArray | ( | ) |
Definition at line 247 of file class.ilBrowser.php.
References $data, getAgent(), getPlatform(), and getVersion().
|
protected |
Definition at line 36 of file class.ilBrowser.php.
|
protected |
Definition at line 33 of file class.ilBrowser.php.
|
protected |
Definition at line 30 of file class.ilBrowser.php.
Referenced by getAgent().
|
protected |
Definition at line 32 of file class.ilBrowser.php.
Referenced by getPlatform().
|
protected |
Definition at line 31 of file class.ilBrowser.php.
|
protected |
Definition at line 35 of file class.ilBrowser.php.
Referenced by returnArray().
|
protected |
Definition at line 49 of file class.ilBrowser.php.
|
protected |
Definition at line 39 of file class.ilBrowser.php.
|
protected |
Definition at line 40 of file class.ilBrowser.php.
|
protected |
Definition at line 43 of file class.ilBrowser.php.
|
protected |
Definition at line 48 of file class.ilBrowser.php.
|
protected |
Definition at line 42 of file class.ilBrowser.php.
|
protected |
Definition at line 41 of file class.ilBrowser.php.
|
protected |
Definition at line 38 of file class.ilBrowser.php.
Referenced by isMobile().
|
protected |
Definition at line 44 of file class.ilBrowser.php.
|
protected |
Definition at line 45 of file class.ilBrowser.php.
|
protected |
Definition at line 46 of file class.ilBrowser.php.
|
protected |
Definition at line 47 of file class.ilBrowser.php.
|
protected |
Definition at line 34 of file class.ilBrowser.php.
|
protected |
Definition at line 37 of file class.ilBrowser.php.
Referenced by isDevice().