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