/** * @see Form::readParameters() */ public function readParameters() { parent::readParameters(); // get contest if (!$this->contest->isSponsortalkable()) { throw new PermissionDeniedException(); } }