Skip to content

Latest commit

 

History

History
326 lines (149 loc) · 5.51 KB

class.ContextCore.md

File metadata and controls

326 lines (149 loc) · 5.51 KB

Class ContextCore

Contents

Properties

Methods

Properties

$cart

public \Cart $cart

$controller

public \Controller $controller

$cookie

public \Cookie $cookie

$country

public \Country $country

$currency

public \Currency $currency

$customer

public \Customer $customer

$employee

public \Employee $employee

$instance

protected \Context $instance

$language

public \Language $language

$link

public \Link $link

$mobile_detect

public mixed $mobile_detect

$mobile_device

protected boolean $mobile_device

$shop

public \Shop $shop

$smarty

public \Smarty $smarty

$tab

public \AdminTab $tab

Methods

checkMobileContext

mixed ContextCore::checkMobileContext()

cloneContext

\Context ContextCore::cloneContext()

Clone current context

getContext

\Context ContextCore::getContext()

Get a singleton context

getMobileDevice

mixed ContextCore::getMobileDevice()