Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('users_model', 'users');
     $this->load->model('cards_model', 'cards');
     $this->load->model('circles_model', 'circles');
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('storyboard_model', 'storyboards');
     $this->load->model('cards_model', 'cards');
     $this->load->model('explore_model', 'explore');
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('term_model');
     $this->load->model('term_rule_type_model', 'type');
     $this->load->model('term_rule_source_model', 'source');
     $this->load->model('term_rule_decision_model', 'decision');
     $this->load->model('term_rule_financial_model', 'financial');
     $this->load->model('companies_model', 'company');
     $this->load->model('api_model', 'api');
     $this->load->helper('array');
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #5
0
 public function security($current)
 {
     $data = parent::security($current);
     if ($data && !empty($data)) {
         $this->load->model('companies_model', 'companies');
         $this->load->model('kpis_model', 'kpis');
         $sectors = $this->companies->get_sector();
         $decision_cats = $this->kpis->get_decision_cats();
         foreach ($decision_cats as $k => $d_c) {
             $decision_cats[$k]->kpis = $this->kpis->get_kpis_by_decision_cat($d_c->decision_category);
         }
         $data['desicion_cats'] = $decision_cats;
     }
     return $data;
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('card_circle_model', 'card_circle');
 }