Example #1
0
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->objMath = kernel::single("ectools_math");
     $this->app = app::get('b2c');
     $this->verify_member();
 }
Example #2
0
 /**
  */
 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');
 }
Example #3
0
 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');
 }
Example #4
0
 function __construct($app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->db = kernel::database();
 }