/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // get board if (isset($_REQUEST['boardID'])) { $this->boardID = intval($_REQUEST['boardID']); } $this->board = new BoardEditor($this->boardID); $this->board->enter(); // check permissions if (!$this->board->canStartThread()) { throw new PermissionDeniedException(); } $this->messageTable = "wbb" . WBB_N . "_post"; }