getCategoryFromUrl($pageParam); parent::__construct($pageParam); } protected function generate() : void { $this->h1 = Util::ucFirst(Lang::game('classes')); array_unshift($this->title, Util::ucFirst(Lang::game('classes'))); $this->redButtons[BUTTON_WOWHEAD] = true; $this->lvTabs = new Tabs(['parent' => "\$\$WH.ge('tabs-generic')"]); $classes = new CharClassList(); if (!$classes->error) $this->lvTabs->addListviewTab(new Listview(['data' => $classes->getListviewData()], CharClassList::$brickFile)); parent::generate(); } } ?>