function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mgopy'); $this->load->library('session'); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mtintuc'); $this->load->library('pagination'); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->library('form_validation'); $this->load->library('email'); $this->load->library('session'); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mdiemthi'); $this->load->library('pagination'); $this->load->library('session'); $this->load->helper('url'); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mhoidap'); $this->load->library('session'); $this->load->library('pagination'); $this->load->library('email'); $this->load->library('parser'); }
function Welcome() { parent::Shop_Controller(); // load the validation library $this->load->library('validation'); // get config // get index path name from preference // this can be done in shop_controller since it is needed for menu path //$this->index_path = $this->preference->item('main_index_path_name'); $this->index_path = $this->mainmodule; //default is welcome // get module name // this will be used in refidrect or $data['module'] //$this->module = basename(dirname(dirname(__FILE__))); // this is the same as getting class name // this will return the grandparent dir name. // or you can get this class name as well. $this->module = strtolower(get_class()); $this->security_method = $this->preference->item('security_method'); $this->security_question = $this->preference->item('security_question'); $this->security_answer = $this->preference->item('security_answer'); }
public function getSumWithCoeff() { return Shop_Controller::instance()->round(($this->_begateway_currency_id > 0 && $this->_shopOrder->shop_currency_id > 0 ? Shop_Controller::instance()->getCurrencyCoefficientInShopCurrency($this->_shopOrder->Shop_Currency, Core_Entity::factory('Shop_Currency', $this->_begateway_currency_id)) : 0) * $this->_shopOrder->getAmount() * $this->_coefficient); }
function __construct() { parent::__construct(); $this->module=strtolower(get_class()); $this->load->model('Mapp'); }
function __construct() { parent::__construct(); }