예제 #1
0
 public function __construct()
 {
     parent::__construct();
     // models
     $this->load->model('conversation_model');
     $this->load->model('message_model');
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('data_helper');
     $this->load->library('cart');
     $this->load->model('basket_model');
     $this->load->model('node_model');
     $this->load->model('variation_model');
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('email_helper');
     $this->load->library('cart');
     $this->load->library('input');
     $this->load->model('basket_model');
     $this->load->model('engage_model');
     $this->load->model('stream_model');
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     // models
     $this->load->model('basket_model');
     $this->load->model('voucher_model');
     // libraries
     $this->load->library('cart');
     // helpers
     $this->load->helper('data_helper');
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     /* BENCHMARK */
     $this->benchmark->mark('Connection_start');
     // models
     $this->load->model('connection_save_model');
     $this->load->model('connection_button_model');
     $this->load->model('node_model');
     // properties
     $get = $this->get_input_vals();
     $this->node = $this->node_model->get_node($get['node_id']);
     $this->node = $this->node_model->get_node($this->node['id'], $this->node['type']);
     // the viewed node (in most cases another user)
     $this->user = $this->node_model->get_node($get['user_id'], 'user');
     // the user viewing the node
     $this->add = true;
     /* BENCHMARK */
     $this->benchmark->mark('Connection_end');
 }
예제 #6
0
파일: node.php 프로젝트: toni-leigh/shlinks
 public function __construct()
 {
     parent::__construct();
     /* BENCHMARK */
     $this->benchmark->mark('node_constr_start');
     // models
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadda_start');
     $this->load->model('data_array_model');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadad_end');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloaden_start');
     $this->load->model('engage_model');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloaden_end');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadnl_start');
     $this->load->model('newsletter_model');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadnl_end');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadnode_start');
     $this->load->model('node_model');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadnode_end');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadpda_start');
     $this->load->model('project_data_array_model');
     /* BENCHMARK */
     $this->benchmark->mark('node_modelloadpda_end');
     // properties
     $this->data = array();
     $this->node = array();
     $this->data['user'] = $this->user;
     /* BENCHMARK */
     $this->benchmark->mark('node_constr_end');
 }
예제 #7
0
파일: flag.php 프로젝트: toni-leigh/core
 public function __construct()
 {
     parent::__construct();
     // models
     $this->load->model('flag_model');
 }
예제 #8
0
 public function __construct()
 {
     parent::__construct();
     // load code igniters db utilities class
     $this->load->dbutil();
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('newsletter_model');
     $this->load->helper('email');
 }
예제 #10
0
파일: contact.php 프로젝트: toni-leigh/core
 public function __construct()
 {
     parent::__construct();
 }