function __construct() { // Call the Controller constructor parent::__construct(); $this->load->library('session'); $this->load->helper('url'); }
function __construct() { parent::__construct(); $this->prefix = array('mdc', 'cfg'); $this->params = array('name', 'arg', 'style', 'js', 'css', 'ajax'); $this->pattern_params = $this->generate_pattern_param(); $site = $this->config->item('site'); /* $this->cfg_params = array( "num_tel" => $site['num_tel'], "num_tel2" => $site['num_tel2'], "num_tel_7" => $site['num_tel_7'], "num_tel2_7" => $site['num_tel2_7'], "code_tel_495" => $site['code_tel_495'], "code_tel_499" => $site['code_tel_499'], "num_fax" => $site['num_fax'], "address" => $site['address'], "postal_code" => $site['postal_code'], "city" => $site['city'], "email" => $site['email'], "email2" => $site['email2'], "www" => $site['www'], "name" => $site['name'], "short_name" => $site['short_name'], ); */ $this->cfg_params = $site; }
function __construct() { // Call the Controller constructor parent::__construct(); $this->load->helper('url'); $this->load->helper('form'); $this->load->model('prayer_model', 'prayerData'); }
function __construct() { parent::__construct(); $this->table = 'grid_pages_seo'; }
/** * Constructor * * @return void */ function construct() { // Call the Controller constructor parent::__construct(); }
function __construct() { parent::__construct(); }