Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('geo/*');
     $this->load->model('POIModel');
     $this->load->model('LabelModel');
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->userId = $this->session->get('userId');
     if ($this->userId === FALSE) {
         $this->location('/signin');
     }
 }
Example #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();
 }
 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');
 }
Example #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('/');
     }
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('Security');
     Security::redirectWhenNotSignedIn();
 }
Example #8
0
 function __construct()
 {
     parent::__construct();
 }