예제 #1
0
파일: List.php 프로젝트: thezawad/vakuum
 public function getList()
 {
     parent::getList();
     foreach ($this->list as $i => $item) {
         $this->list[$i] = new MDL_Contest($item['contest_id'], $item['contest_config'], $item['contest_status']);
     }
     return $this->list;
 }
예제 #2
0
파일: List.php 프로젝트: thezawad/vakuum
 public function getList()
 {
     parent::getList();
     foreach ($this->list as $i => $item) {
         $this->list[$i] = new MDL_Problem($item['prob_id']);
     }
     return $this->list;
 }
예제 #3
0
파일: List.php 프로젝트: thezawad/vakuum
 public function getList()
 {
     parent::getList();
     foreach ($this->list as $i => $judger) {
         $this->list[$i] = new MDL_Judger($judger['judger_id'], MDL_Judger::GET_NONE, array('judger_name' => $judger['judger_name'], 'judger_priority' => $judger['judger_priority'], 'judger_enabled' => $judger['judger_enabled'], 'judger_available' => $judger['judger_available'], 'judger_count' => $judger['judger_count'], 'judger_config' => $judger['judger_config']));
     }
     return $this->list;
 }
예제 #4
0
파일: List.php 프로젝트: thezawad/vakuum
 public function getList()
 {
     parent::getList();
     foreach ($this->list as $i => $item) {
         if (!$this->list[$i] instanceof MDL_Record) {
             $this->list[$i] = new MDL_Record($item['record_id'], MDL_Record::GET_NONE, array('user_id' => $item['record_user_id'], 'prob_id' => $item['record_prob_id'], 'judger_id' => $item['record_judger_id']));
         }
     }
     return $this->list;
 }
예제 #5
0
파일: List.php 프로젝트: thezawad/vakuum
 public function getList()
 {
     if ($this->plist == NULL) {
         parent::getList();
         foreach ($this->list as $i => $item) {
             $this->list[$i] = new MDL_User($item['user_id'], MDL_User::ID_USER_ID, MDL_User::GET_NONE, array('user_name' => $item['user_name'], 'user_nickname' => $item['user_nickname']));
         }
         $this->plist = $this->list;
     }
     return $this->plist;
 }