Ejemplo n.º 1
0
 /**
  * @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();
 }
Ejemplo n.º 2
0
	/**
	 * @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();
	}
Ejemplo n.º 3
0
	/**
	 * @see	wcf\page\IPage::readParameters()
	 */
	public function readParameters() {
		parent::readParameters();
		
		I18nHandler::getInstance()->register('groupName');
	}