/**
  * @see Form::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // get entry
     if (isset($_REQUEST['contestID'])) {
         $this->contestID = intval($_REQUEST['contestID']);
     }
     $this->contest = new ViewableContest($this->contestID);
     if (!$this->contest->contestID) {
         throw new IllegalLinkException();
     }
     if (isset($_REQUEST['solutionID'])) {
         $this->solutionID = intval($_REQUEST['solutionID']);
     }
     $this->entry = new ContestSolutionEditor($this->solutionID);
     if (!$this->entry->solutionID || !$this->entry->isOwner()) {
         throw new IllegalLinkException();
     }
 }