Public Member Functions | |
& | getInstance () |
isFromMobilePhone () | |
_isFromMobilePhone () | |
isMobileCheckByAgent () | |
isMobilePadCheckByAgent () | |
setMobile ($ismobile) | |
isMobileEnabled () | |
Public Attributes | |
$ismobile = NULL | |
Mobile class
Definition at line 9 of file Mobile.class.php.
Mobile::_isFromMobilePhone | ( | ) |
& Mobile::getInstance | ( | ) |
Get instance of Mobile class(for singleton)
Definition at line 23 of file Mobile.class.php.
Mobile::isFromMobilePhone | ( | ) |
Get current mobile mode
Definition at line 38 of file Mobile.class.php.
Mobile::isMobileCheckByAgent | ( | ) |
Detect mobile device by user agent
Definition at line 146 of file Mobile.class.php.
Mobile::isMobileEnabled | ( | ) |
Definition at line 235 of file Mobile.class.php.
Mobile::isMobilePadCheckByAgent | ( | ) |
Check if user-agent is a tablet PC as iPad or Andoid tablet.
Definition at line 180 of file Mobile.class.php.
Mobile::setMobile | ( | $ismobile | ) |
Set mobile mode
bool | $ismobile |
Definition at line 229 of file Mobile.class.php.
Mobile::$ismobile = NULL |
Definition at line 16 of file Mobile.class.php.