Ejemplo n.º 1
0
	/**
	 * @see	wcf\page\IPage::readData()
	 */
	public function readData() {
		parent::readData();
		
		$this->optionTree = $this->optionHandler->getOptionTree();
		if (empty($_POST)) {
			$this->activeTabMenuItem = $this->optionTree[0]['object']->categoryName;
		}
	}
Ejemplo n.º 2
0
 /**
  * @see wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     // load option tree
     $this->optionTree = $this->optionHandler->getOptionTree($this->category->categoryName);
     if (!count($_POST)) {
         $this->activeTabMenuItem = $this->optionTree[0]['object']->categoryName;
     }
 }
Ejemplo n.º 3
0
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     // load option tree
     $this->optionTree = $this->optionHandler->getOptionTree($this->category->categoryName);
     if (empty($_POST)) {
         // not a valid top (level 1 or 2) category
         if (!isset($this->optionTree[0])) {
             throw new IllegalLinkException();
         }
     }
 }