name = Util::ucFirst(Lang::game('mails')); } protected function generateContent() { $tabData = []; $mails = new MailList(); if (!$mails->error) $tabData['data'] = array_values($mails->getListviewData()); $this->extendGlobalData($mails->getJsGlobals()); $this->lvTabs[] = ['mail', $tabData, 'mail']; } protected function generateTitle() { array_unshift($this->title, $this->name); } protected function generatePath() { } } ?>