/** * Constructor */ public function __construct() { parent::__construct(); $this->load->model('status_model', 'status'); $this->load->model('myemsl_model', 'myemsl'); $this->load->helper(array('inflector', 'item', 'url', 'opwhse_search', 'form', 'network', 'myemsl')); $this->load->library(array('table')); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->load->model('Status_model', 'status'); $this->load->model('Api_model', 'api'); $this->load->helper(array('inflector', 'item', 'url', 'opwhse_search', 'form', 'network', 'myemsl')); $this->load->library(array('table')); $this->status_list = array(0 => 'Submitted', 1 => 'Received', 2 => 'Processing', 3 => 'Verified', 4 => 'Stored', 5 => 'Available', 6 => 'Archived'); }
/** * [__construct description] * * @method __construct * @author Ken Auberry <*****@*****.**> */ public function __construct() { parent::__construct(); $this->load->model('Reporting_model', 'rep'); $this->load->library('EUS', '', 'eus'); $this->load->helper(array('network', 'file_info', 'inflector', 'time', 'item', 'search_term', 'cookie')); $this->last_update_time = get_last_update(APPPATH); $this->accepted_object_types = array('instrument', 'user', 'proposal'); $this->accepted_time_basis_types = array('submit_time', 'create_time', 'modified_time'); $this->local_resources_folder = $this->config->item('local_resources_folder'); }
/** * Class constructor * * @author Ken Auberry <*****@*****.**> * @return void */ public function __construct() { parent::__construct(); $this->load->model('Group_info_model', 'gm'); $this->load->model('Summary_model', 'summary'); $this->load->model('Myemsl_model', 'myemsl'); $this->load->library('EUS', '', 'eus'); $this->load->helper(array('network', 'file_info', 'inflector', 'time', 'item', 'search_term', 'cookie')); $this->accepted_object_types = array('instrument', 'user', 'proposal'); $this->accepted_time_basis_types = array('submit_time', 'create_time', 'modified_time'); $this->local_resources_folder = $this->config->item('local_resources_folder'); }
function __construct() { parent::__construct(); if ($this->admin_access_level < 400) { $this->page_data['message'] = "You must have at least 'Power User' status to use these pages"; $this->load->view('insufficient_privileges', $this->page_data); } $this->load->helper(array('inflector', 'url', 'opwhse_search', 'form', 'network', 'edit_equipment')); $this->load->library(array('table')); $this->load->model('User_operations_model', 'user_model'); $this->load->model('Inventory_model', 'inv_model'); }
function __construct() { parent::__construct(); $this->load->helper(array('inflector', 'url', 'date', 'network', 'form')); //$this->load->library(array('table')); //$this->load->model('user_operations_model','user'); //$this->load->model('eus_model','eus'); //$this->load->model('scheduling_model', 'sched'); //$this->eus_user_info = $this->sched->get_user_info($this->user_id); //$this->eus_user_id = $this->eus_user_info['eus_user_id']; //$this->scheduling_access_level = $this->sched->get_scheduling_privilege_level($this->eus_user_info['eus_user_id']); //$this->user_classifications = $this->sched->get_user_classifications(); }
/** * Constructor * * Defines the base set of scripts/CSS files for every * page load */ public function __construct() { parent::__construct(); $this->load->model('status_model', 'status'); $this->load->model('Myemsl_model', 'myemsl'); $this->load->model('Cart_model', 'cart'); $this->load->helper(array('inflector', 'item', 'url', 'opwhse_search', 'form', 'network')); $this->load->library(array('table')); $this->status_list = array(0 => 'Submitted', 1 => 'Received', 2 => 'Processing', 3 => 'Verified', 4 => 'Stored', 5 => 'Available', 6 => 'Archived'); $this->valid_search_term_types = array(); $this->last_update_time = get_last_update(APPPATH); $this->page_data['script_uris'] = array('/resources/scripts/spinner/spin.min.js', '/resources/scripts/fancytree/jquery.fancytree-all.js', '/resources/scripts/jquery-crypt/jquery.crypt.js', '/resources/scripts/myemsl_file_download.js', '/project_resources/scripts/status_common.js', '/resources/scripts/select2-4/dist/js/select2.js', '/resources/scripts/moment.min.js'); $this->page_data['css_uris'] = array('/resources/scripts/fancytree/skin-lion/ui.fancytree.min.css', '/resources/stylesheets/status.css', '/resources/stylesheets/status_style.css', '/resources/scripts/select2-4/dist/css/select2.css', '/resources/stylesheets/file_directory_styling.css', '/resources/stylesheets/bread_crumbs.css'); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->load->model('status_model', 'status'); /* already loaded in status model $this->load->model('Myemsl_model', 'myemsl'); $this->load->model('Cart_model', 'cart'); $this->load->helper(array( 'inflector', 'item', 'url', 'opwhse_search', 'form', 'network' )); $this->load->library(array('table')); */ // $this->status_list = array( // 0 => 'Submitted', 1 => 'Received', 2 => 'Processing', // 3 => 'Verified', 4 => 'Stored', 5 => 'Available', 6 => 'Archived', // ); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->load->model('Cart_model', 'cart'); $this->load->helper(array('url', 'network')); }