Inheritance: extends HRC_Controller
コード例 #1
0
ファイル: faq.php プロジェクト: fbmfbm/drhil01
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->library('form_validation');
     $this->lang->load('faq');
     Assets::add_module_js('faq', 'faq.js');
 }
コード例 #2
0
ファイル: summary.php プロジェクト: ibnoe/report-mis
 public function __construct()
 {
     parent::__construct();
     $this->load->model('summary_model');
     $this->load->model('financial_stats_model');
     $this->load->model('overview/overview_model');
 }
コード例 #3
0
ファイル: searchwidget.php プロジェクト: devarj/design
 function __construct()
 {
     parent::__construct();
     //        echo 'test';
     //make sure we're not always behind ssl
     remove_ssl();
 }
コード例 #4
0
ファイル: Checkout.php プロジェクト: nagsamayam/jcom
 function __construct()
 {
     parent::__construct();
     /*make sure the cart isnt empty*/
     if ($this->jcart->total_items() == 0) {
         redirect('cart/view_cart');
     }
     /*is the user required to be logged in?*/
     if (config_item('require_login')) {
         $this->Customer_model->is_logged_in('checkout');
     }
     if (!config_item('allow_os_purchase') && config_item('inventory_enabled')) {
         /*double check the inventory of each item before proceeding to checkout*/
         $inventory_check = $this->jcart->check_inventory();
         if ($inventory_check) {
             /*
             OOPS we have an error. someone else has gotten the scoop on our customer and bought products out from under them!
             we need to redirect them to the view cart page and let them know that the inventory is no longer there.
             */
             $this->session->set_flashdata('error', $inventory_check);
             redirect('cart/view_cart');
         }
     }
     /* Set no caching
     	
     		header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
     		header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); 
     		header("Cache-Control: no-store, no-cache, must-revalidate"); 
     		header("Cache-Control: post-check=0, pre-check=0", false);
     		header("Pragma: no-cache");
     	
     		*/
     $this->load->library('form_validation');
 }
コード例 #5
0
ファイル: book.php プロジェクト: NingerJohn/vfinder
 function __construct()
 {
     parent::__construct();
     $this->load->model('front/book_m');
     $this->load->helper('file');
     $this->table = 'book_torrent';
 }
コード例 #6
0
ファイル: streaming.php プロジェクト: FAVHYAN/a3workout
 function __construct()
 {
     parent::__construct();
     force_ssl();
     $this->load->model(array('location_model'));
     $this->load->helper(array('form', 'url'));
 }
コード例 #7
0
ファイル: news.php プロジェクト: remailednet/Bonfire-News
 public function __construct()
 {
     parent::__construct();
     $this->load->model('news_model');
     $this->load->helper('news');
     $this->lang->load('news');
 }
コード例 #8
0
ファイル: creditscoring.php プロジェクト: ibnoe/core-mis
 public function __construct()
 {
     parent::__construct();
     $this->load->model('clients_model');
     $this->load->model('clients_pembiayaan_model');
     $this->load->library('pagination');
 }
コード例 #9
0
ファイル: servers.php プロジェクト: noikiy/MySQL-monitor
 function __construct()
 {
     parent::__construct();
     $this->load->model('servers_model', 'servers');
     $this->load->model('application_model', 'app');
     $this->load->library('form_validation');
 }
コード例 #10
0
ファイル: Categories.php プロジェクト: Ragash/DoveForums
 public function __construct()
 {
     parent::__construct();
     // Load helpers.
     $this->load->helper('xml');
     $this->load->helper('text');
 }
コード例 #11
0
ファイル: secure.php プロジェクト: Joncg/eelly_cps_fx
 function __construct()
 {
     parent::__construct();
     force_ssl();
     $this->load->model(array('location_model'));
     $this->customer = $this->go_cart->customer();
 }
コード例 #12
0
ファイル: officer.php プロジェクト: ibnoe/core-mis
 public function __construct()
 {
     parent::__construct();
     $this->load->model('officer_model');
     $this->load->model('branch_model');
     $this->load->library('pagination');
 }
コード例 #13
0
ファイル: checkout.php プロジェクト: devarj/design
 function __construct()
 {
     parent::__construct();
     force_ssl();
     /* make sure the cart isnt empty */
     if ($this->go_cart->total_items() == 0) {
         redirect('cart/view_cart');
     }
     /* is the user required to be logged in? */
     if (config_item('require_login')) {
         $this->Customer_model->is_logged_in('checkout');
     }
     if (!config_item('allow_os_purchase') && config_item('inventory_enabled')) {
         /* double check the inventory of each item before proceeding to checkout */
         $inventory_check = $this->go_cart->check_inventory();
         if ($inventory_check) {
             /*
              OOPS we have an error. someone else has gotten the scoop on our customer and bought products out from under them!
              we need to redirect them to the view cart page and let them know that the inventory is no longer there.
             */
             $this->session->set_flashdata('error', $inventory_check);
             redirect('cart/view_cart');
         }
     }
     $this->load->library('form_validation');
 }
コード例 #14
0
ファイル: packages.php プロジェクト: FAVHYAN/a3workout
 function __construct()
 {
     parent::__construct();
     $this->load->model('Category_model');
     $this->load->model('Product_model');
     $this->load->model('Option_model');
 }
コード例 #15
0
ファイル: member.php プロジェクト: phpox/LetsBBS
 public function __construct()
 {
     parent::__construct();
     $this->load->model('user_m');
     $this->load->model('topic_m');
     $this->load->model('comment_m');
 }
コード例 #16
0
ファイル: cart.php プロジェクト: FAVHYAN/a3workout
 function __construct()
 {
     parent::__construct();
     //make sure we're not always behind ssl
     remove_ssl();
     $this->load->model('Customer_model');
 }
コード例 #17
0
ファイル: users.php プロジェクト: 68kb/68kb
 public function __construct()
 {
     parent::__construct();
     log_message('debug', 'Users Controller Initialized');
     $this->load->model('users_model');
     $this->load->helper(array('cookie', 'form', 'date', 'html'));
 }
コード例 #18
0
ファイル: chart.php プロジェクト: noikiy/MySQL-monitor
 function __construct()
 {
     parent::__construct();
     $this->load->model("mysql_model", "mysql");
     $this->load->model('application_model', 'app');
     $this->load->model('servers_model', 'server');
 }
コード例 #19
0
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('botan_structure/botan_structure_model');
     $this->lang->load('botan_structure');
     Assets::add_module_js('botan_structure', 'botan_structure.js');
 }
コード例 #20
0
ファイル: finance_week.php プロジェクト: ibnoe/report-mis
 public function __construct()
 {
     parent::__construct();
     $this->load->model('finance_week_model');
     $this->load->model('tsdaily_model');
     $this->load->model('branch_model');
 }
コード例 #21
0
ファイル: Comments.php プロジェクト: derqas/qas.esy.es.test
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('comments/comments_model');
     $this->lang->load('comments');
     Assets::add_module_js('comments', 'comments.js');
 }
コード例 #22
0
ファイル: settings.php プロジェクト: phpox/LetsBBS
 public function __construct()
 {
     parent::__construct();
     $this->load->model('user_m');
     $this->load->helper('auth');
     is_login_exit();
 }
コード例 #23
0
ファイル: subtitle.php プロジェクト: NingerJohn/vfinder
 function __construct()
 {
     parent::__construct();
     $this->load->model('front/subtitle_m');
     $this->load->helper('file');
     $this->table = 'subtitle';
 }
コード例 #24
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('accounting_model');
     $this->load->model('jurnal_model');
     $this->load->library('pagination');
 }
コード例 #25
0
ファイル: otp.php プロジェクト: santanumajumdar/carpool
 function __construct()
 {
     parent::__construct();
     $this->load->library('pagination');
     $this->load->helper('text');
     $this->load->model('Trip_model');
 }
コード例 #26
0
ファイル: Stats.php プロジェクト: blrik/bWorld
 public function __construct()
 {
     parent::__construct();
     $this->load->library('table');
     $this->data['siteOptions'] = $this->siteOptions;
     $this->data['siteContacts'] = $this->siteContacts;
 }
コード例 #27
0
ファイル: botanicules.php プロジェクト: brkrishna/freelance
 /**
  * Constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('botanicules/botanicules_model');
     $this->lang->load('botanicules');
     Assets::add_module_js('botanicules', 'botanicules.js');
 }
コード例 #28
0
ファイル: news.php プロジェクト: remailednet/Bonfire-News
 public function __construct()
 {
     parent::__construct();
     $this->load->model('news_model');
     $this->lang->load('news');
     $this->_settings = $this->settings_model->select('name,value')->find_all_by('module', 'news');
 }
コード例 #29
0
ファイル: grapha.php プロジェクト: chen-123/phper
 function __construct()
 {
     parent::__construct();
     ini_set("include_path", "D:/wwwroot/mysqlmtop/frontweb/public");
     $this->load->model("mysql_model", "mysql");
     $this->load->model('application_model', 'app');
     $this->load->model('servers_model', 'server');
 }
コード例 #30
0
ファイル: ajax_logmt.php プロジェクト: fbmfbm/drhil01
 public function __construct()
 {
     parent::__construct();
     $this->load->library('users/auth');
     $this->set_current_user();
     $this->output->enable_profiler(FALSE);
     $this->load->model('zonage_model', null, true);
 }