__construct() public method

public __construct ( )
示例#1
0
 function __construct()
 {
     // Call the Controller constructor
     parent::__construct();
     $this->load->library('session');
     $this->load->helper('url');
 }
示例#2
0
文件: pages_mod.php 项目: Moro3/duc
 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;
 }
示例#3
0
 function __construct()
 {
     // Call the Controller constructor
     parent::__construct();
     $this->load->helper('url');
     $this->load->helper('form');
     $this->load->model('prayer_model', 'prayerData');
 }
示例#4
0
文件: pages_seo.php 项目: Moro3/duc
 function __construct()
 {
     parent::__construct();
     $this->table = 'grid_pages_seo';
 }
示例#5
0
 /** 
  * Constructor
  *
  * @return void
  */
 function construct()
 {
     // Call the Controller constructor
     parent::__construct();
 }
示例#6
0
文件: pages_api.php 项目: Moro3/duc
 function __construct()
 {
     parent::__construct();
 }