/**
  * @see Form::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // get contest
     if (!$this->contest->isSponsorable()) {
         throw new PermissionDeniedException();
     }
     // set state default
     $this->state = $this->contest->enableSponsorCheck ? 'applied' : 'accepted';
 }