public function __construct() { parent::__construct(); if (!$this->check_power('demo_paper_report,demo_exam_config_manage')) { return; } }
public function __construct() { parent::__construct(); if (!$this->check_power('exam_rule_manage')) { return; } }
public function __construct() { parent::__construct(); if (!$this->check_power('demo_paper_report,demo_paper_list')) { return; } }
public function __construct() { parent::__construct(); /* 权限检查 */ if (!$this->check_power('evaluation_standard_manage')) { return; } }
public function __construct() { parent::__construct(); if (!$this->check_power('cron_schedule_list')) { return; } $this->_require_cron_schedule(); }
/** * 实现父类构造函数,载入模型 */ public function __construct() { parent::__construct(); if (!$this->check_power('evaluate_template_manage')) { return; } self::$module_type_name = array('0' => '机考总结', '1' => '机考学科', '4' => '机考班级', '6' => '机考教师', '2' => '面试学科', '3' => '面试总结', '5' => '选学选考'); }
public function __construct() { parent::__construct(); /* 权限检查 */ if (!$this->check_power('interview_result_import')) { return; } }
/** * 构造函数 * * @return void */ public function __construct() { parent::__construct(); /* 权限检测 */ if (!$this->check_power('question_examine')) { exit; } }
public function __construct() { parent::__construct(); /* 权限认证 */ if (!$this->check_power('paper_diy')) { message('没有权限!'); } }
public function __construct() { parent::__construct(); require_once APPPATH . 'config/app/admin/recycle.php'; if ($_FILES) { $config['upload_path'] = _UPLOAD_ROOT_PATH_ . 'uploads/student/' . date('Ymd') . '/'; $config['allowed_types'] = 'gif|jpg|jpeg|png'; $config['max_size'] = '1024'; $config['max_width'] = '2000'; $config['max_height'] = '2000'; $config['encrypt_name'] = TRUE; $this->load->library('upload', $config); } }
public function __construct() { parent::__construct(); //有手工组卷权限非超级管理员 $this->paper_diy = $this->check_power('paper_diy', false) && !$this->is_super_user() ? 1 : 0; require_once APPPATH . 'config/app/admin/recycle.php'; if ($_FILES) { $config['upload_path'] = _UPLOAD_ROOT_PATH_ . 'uploads/question/' . date('Ym') . '/'; $config['allowed_types'] = 'gif|jpg|jpeg|png'; $config['max_size'] = '500'; $config['max_width'] = '650'; $config['max_height'] = '500'; $config['encrypt_name'] = TRUE; $this->load->library('upload', $config); } }
public function __construct() { parent::__construct(); require_once APPPATH . 'config/app/admin/recycle.php'; if ($_FILES) { $config['upload_path'] = _UPLOAD_ROOT_PATH_ . 'uploads/question/' . date('Ym') . '/'; $config['allowed_types'] = 'gif|jpg|jpeg|png'; $config['max_size'] = '500'; $config['max_width'] = '800'; $config['max_height'] = '500'; $config['encrypt_name'] = TRUE; $this->load->library('upload', $config); } /* 权限检测 */ if (!$this->check_power('question_external_manage')) { message('没有操作权限!'); } }
public function __construct() { parent::__construct(); $this->load->model('cron/cron_place_student_paper_model', 'cron_place_student_paper_model'); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); require_once APPPATH . 'config/app/admin/recycle.php'; }
public function __construct() { parent::__construct(); require_once APPPATH . 'config/app/exam/log_type_desc.php'; }
public function __construct() { parent::__construct(); $this->load->model('cron/cron_task_email_model'); }
public function __construct() { parent::__construct(); /* 试卷模型 */ }