getCategoryFromUrl($pageParam);; parent::__construct(); $this->name = Util::ucFirst(Lang::$game['skills']); } protected function generateContent() { $conditions = []; if (!User::isInGroup(U_GROUP_EMPLOYEE)) $conditions[] = ['categoryId', 12, '!']; // GENERIC (DND) if ($this->category) $conditions[] = ['typeCat', $this->category[0]]; $skills = new SkillList($conditions); $this->lvData[] = array( 'file' => 'skill', 'data' => $skills->getListviewData(), // listview content 'params' => [] ); } protected function generateTitle() { if ($this->category) array_unshift($this->title, Lang::$skill['cat'][$this->category[0]]); } protected function generatePath() { if ($this->category) $this->path[] = $this->category[0]; } } ?>