mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Mark most methods of Mobile class as deprecated
This commit is contained in:
parent
f15cdecbe1
commit
20fedd2810
1 changed files with 6 additions and 2 deletions
|
|
@ -82,6 +82,7 @@ class Mobile
|
|||
/**
|
||||
* Get current mobile mode
|
||||
*
|
||||
* @deprecated
|
||||
* @return bool
|
||||
*/
|
||||
public static function _isFromMobilePhone()
|
||||
|
|
@ -92,7 +93,8 @@ class Mobile
|
|||
/**
|
||||
* Detect mobile device by user agent
|
||||
*
|
||||
* @return bool Returns true on mobile device or false.
|
||||
* @deprecated
|
||||
* @return bool
|
||||
*/
|
||||
public static function isMobileCheckByAgent()
|
||||
{
|
||||
|
|
@ -102,7 +104,8 @@ class Mobile
|
|||
/**
|
||||
* Check if user-agent is a tablet PC as iPad or Andoid tablet.
|
||||
*
|
||||
* @return bool TRUE for tablet, and FALSE for else.
|
||||
* @deprecated
|
||||
* @return bool
|
||||
*/
|
||||
public static function isMobilePadCheckByAgent()
|
||||
{
|
||||
|
|
@ -112,6 +115,7 @@ class Mobile
|
|||
/**
|
||||
* Set mobile mode
|
||||
*
|
||||
* @deprecated
|
||||
* @param bool $ismobile
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue