__construct() 공개 메소드

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();
 }