В функции установки:
$tabClass = 'AdminNewDataController';
$tabName = 'Name of module';
$idTabParent = 2;
if (Db::getInstance()->getValue('SELECT Count(*) FROM ' . DB_PREFIX . 'tab WHERE class_name LIKE "' . pSQL($tabClass) . '"')) {
return false;
}
$tab = new Tab();
// $tab->name = $tabName;
foreach (Language::getLanguages(false) as $lang) {
$tab->name[(int) $lang['id_lang']] = $tabName;
}
$tab->class_name = $tabClass;
$tab->module = $this->name;
$tab->id_parent = $idTabParent;
$tab->active = 1;