Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     // models
     $this->load->model('conversation_model');
     $this->load->model('message_model');
 }
Exemple #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');
 }
Exemple #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');
 }
Exemple #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');
 }
Exemple #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');
 }
Exemple #6
0
 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');
 }
Exemple #7
0
 public function __construct()
 {
     parent::__construct();
     // models
     $this->load->model('flag_model');
 }
 public function __construct()
 {
     parent::__construct();
     // load code igniters db utilities class
     $this->load->dbutil();
 }
Exemple #9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('newsletter_model');
     $this->load->helper('email');
 }
Exemple #10
0
 public function __construct()
 {
     parent::__construct();
 }