class SmartphoneUserAgent

スマートフォンの情報を扱うクラス.

Methods

boolean
isSmartphone()

スマートフォンかどうかを判別する。 $SESSION['pcdisp'] = true の場合はPC表示。

boolean
isNonSmartphone()

スマートフォンかどうかを判別する。

string
getSmartphonePcFlag()

PC表示フラグの取得

setPcDisplayOn()

PC表示ON

setPcDisplayOff()

PC表示OFF

Details

at line 30
boolean isSmartphone()

スマートフォンかどうかを判別する。 $SESSION['pcdisp'] = true の場合はPC表示。

Return Value

boolean

at line 43
boolean isNonSmartphone()

スマートフォンかどうかを判別する。

Return Value

boolean

at line 53
string getSmartphonePcFlag()

PC表示フラグの取得

Return Value

string

at line 63
setPcDisplayOn()

PC表示ON

at line 71
setPcDisplayOff()

PC表示OFF