MicroFrameWork/kernel/widgets/ModuleTabsWidget.php
2024-11-25 16:58:01 +03:00

18 lines
363 B
PHP

<?php
namespace kernel\widgets;
use kernel\helpers\Debug;
use kernel\Widget;
class ModuleTabsWidget extends Widget
{
public function run(): void
{
$tabs = [
'/admin' => 'Локальные',
'/admin/module_shop_client' => 'Каталог'
];
$this->cgView->render('/tabs.php', ['tabs' => $tabs]);
}
}