active = 1; $tab->class_name = 'AdminBlockCategories'; $tab->name = array(); foreach (Language::getLanguages(true) as $lang) { $tab->name[$lang['id_lang']] = 'BlockCategories'; } $tab->id_parent = -1; $tab->module = $object->name; return $tab->add(); } return true; }