/** * @see Page::readParameters() */ public function readParameters() { AbstractForm::readParameters(); if (isset($_REQUEST['participantID'])) { $this->participantID = intval($_REQUEST['participantID']); } $this->entry = new ContestParticipantEditor($this->participantID); if (!$this->entry->participantID || !$this->entry->isEditable()) { throw new IllegalLinkException(); } }