/** * @see wcf\page\IPage::readParameters() */ public function readParameters() { if (isset($_REQUEST['id'])) { $this->categoryID = intval($_REQUEST['id']); } $this->category = new OptionCategory($this->categoryID); if (!isset($this->category->categoryID)) { throw new IllegalLinkException(); } $this->categoryName = $this->category->categoryName; parent::readParameters(); }
/** * @see wcf\page\IPage::readParameters() */ public function readParameters() { if (isset($_REQUEST['id'])) $this->categoryID = intval($_REQUEST['id']); $this->category = new OptionCategory($this->categoryID); if (!isset($this->category->categoryID)) { throw new IllegalLinkException(); } $this->categoryName = $this->category->categoryName; if (isset($_GET['optionName'])) $this->optionName = StringUtil::trim($_GET['optionName']); parent::readParameters(); }
/** * @see wcf\page\IPage::readParameters() */ public function readParameters() { parent::readParameters(); I18nHandler::getInstance()->register('groupName'); }