예제 #1
0
 public function __construct($report_id, $report_info, $obj_info)
 {
     parent::__construct($report_id, $report_info, $obj_info);
     $this->_task_info = $this->get_task_info($this->_report_info['origin_id']);
     $this->_task_obj = new match_task_class($this->_task_info);
     $this->_match_task = db_factory::get_one(sprintf(" select * from %switkey_task_match where task_id='%d'", TABLEPRE, $this->_obj_info['origin_id']));
     $this->_match_work = db_factory::get_one(sprintf(" select b.* from %switkey_task_work a left join %switkey_task_match_work b on a.work_id=b.work_id where a.task_id='%d' and a.work_status=4", TABLEPRE, TABLEPRE, $this->_obj_info['origin_id']));
 }
예제 #2
0
 public function __construct($report_id, $report_info, $obj_info, $user_info, $to_userinfo)
 {
     parent::__construct($report_id, $report_info, $obj_info, $user_info, $to_userinfo);
 }
예제 #3
0
 public function __construct($report_id, $report_info, $obj_info, $user_info, $to_userinfo)
 {
     parent::__construct($report_id, $report_info, $obj_info, $user_info, $to_userinfo);
     $this->_task_info = $this->get_task_info($this->_report_info['origin_id']);
     $this->_task_obj = new sreward_task_class($this->_task_info);
 }