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