Constants

DEVICE_COMPUTER

DEVICE_COMPUTER

DEVICE_TABLET

DEVICE_TABLET

DEVICE_MOBILE

DEVICE_MOBILE

MODE_STD

MODE_STD

MODE_STD_CONTRIB

MODE_STD_CONTRIB

MODE_HOST_CONTRIB

MODE_HOST_CONTRIB

MODE_HOST

MODE_HOST

Properties

$cart

$cart : \Cart

Type

\Cart

$customer

$customer : \Customer

Type

\Customer

$cookie

$cookie : \Cookie

Type

\Cookie

$link

$link : \Link

Type

\Link

$country

$country : \Country

Type

\Country

$employee

$employee : \Employee

Type

\Employee

$controller

$controller : \Controller

Type

\Controller

$override_controller_name_for_translations

$override_controller_name_for_translations : string

Type

string

$language

$language : \Language

Type

\Language

$currency

$currency : \Currency

Type

\Currency

$tab

$tab : \AdminTab

Type

\AdminTab

$shop

$shop : \Shop

Type

\Shop

$theme

$theme : \Theme

Type

\Theme

$smarty

$smarty : \Smarty

Type

\Smarty

$mobile_detect

$mobile_detect : 

Type

$mode

$mode : 

Type

$instance

$instance : \Context

Type

\Context

$mobile_device

$mobile_device : boolean|string

Type

boolean|string — mobile device of the customer

$is_mobile

$is_mobile : 

Type

$is_tablet

$is_tablet : 

Type

Methods

getMobileDetect()

getMobileDetect() 

isMobile()

isMobile() 

isTablet()

isTablet() 

getMobileDevice()

getMobileDevice() 

getDevice()

getDevice() 

getContext()

getContext() : \Context

Get a singleton context

Returns

\Context

cloneContext()

cloneContext() : \Context

Clone current context

Returns

\Context

checkMobileContext()

checkMobileContext()