/** * @see Action::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['juryID'])) { $this->juryID = intval($_REQUEST['juryID']); } $this->jury = new ContestJuryEditor($this->juryID); if (!$this->jury->juryID) { throw new IllegalLinkException(); } if (!$this->jury->isDeletable()) { throw new PermissionDeniedException(); } }