コード例 #1
0
 /**
  * @see DatabaseObject::handleData()
  */
 protected function handleData($data)
 {
     parent::handleData($data);
     $this->owner = new ContestOwner($data, $this->userID, $this->groupID);
 }
コード例 #2
0
 /**
  * @see ViewableThread::handleData()
  */
 protected function handleData($data)
 {
     parent::handleData($data);
     // get user
     $this->user = new User(null, array('userID' => $this->userID, 'username' => $this->username));
 }