function __construct(&$app) { parent::__construct($app); $this->objMath = kernel::single("ectools_math"); $this->app = app::get('b2c'); $this->verify_member(); }
/** */ function __construct($app) { parent::__construct($app); $this->app = app::get('b2c'); $this->verify_member(); $this->rpcService = kernel::single('base_rpc_service'); $this->mCart = kernel::single('b2c_mdl_cart'); $this->objMath = kernel::single("ectools_math"); $this->_request = kernel::single('base_component_request'); $this->_response = kernel::single('base_component_response'); }
function __construct($app) { parent::__construct($app); $this->app = app::get('b2c'); //$this->verify_member(); $this->rpcService = kernel::single('base_rpc_service'); $this->_request = kernel::single('base_component_request'); $this->_response = kernel::single('base_component_response'); $this->staffMdl = $this->app->model('local_staff'); $this->staffObject = kernel::single('b2c_local_staff'); }
function __construct($app) { parent::__construct($app); $this->app = $app; $this->db = kernel::database(); }