Esempio n. 1
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('geo/*');
     $this->load->model('POIModel');
     $this->load->model('LabelModel');
 }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
     $this->userId = $this->session->get('userId');
     if ($this->userId === FALSE) {
         $this->location('/signin');
     }
 }
Esempio n. 3
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('ps');
     $this->load->library('Point');
     $this->load->library('Polygon');
     $this->load->model('POI');
 }
 function __construct()
 {
     parent::CL_Controller();
     $this->load->model('ModelModel');
     $this->load->model('ScenarioModel');
     $this->load->model('ContextModel');
     $this->load->model('QueryModel');
     $this->load->model('TempModel');
     $this->db = CL_MySQL::getInstance();
 }
Esempio n. 5
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('StudyModel');
     $this->load->model('ModelModel');
     $this->load->model('ScenarioModel');
     $this->load->model('QueryModel');
     $this->load->library('MarkdownInterface');
     $this->load->library('Markdown');
     $this->load->library('MarkdownExtra');
 }
Esempio n. 6
0
 function __construct()
 {
     parent::CL_Controller();
     $this->load->model('CaseModel');
     $this->load->model('ModelModel');
     $this->load->model('ScenarioModel');
     $this->load->model('QueryModel');
     $this->load->model('ContextModel');
     $this->db = CL_MySQL::getInstance();
     if (!$this->session->is_set('caseId')) {
         $this->location('/');
     }
 }
Esempio n. 7
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('Security');
     Security::redirectWhenNotSignedIn();
 }
Esempio n. 8
0
 function __construct()
 {
     parent::__construct();
 }