/** * @see \wcf\page\IPage::readParameters() */ public function readParameters() { if (isset($_REQUEST['id'])) { $this->contentID = intval($_REQUEST['id']); } $this->content = new Content($this->contentID); if (!$this->content->contentID) { throw new IllegalLinkException(); } $this->objectType = $this->content->getObjectType(); parent::readParameters(); }