module tabs widget

This commit is contained in:
2024-11-05 15:36:46 +03:00
parent 825d3df776
commit 9a152885d8
7 changed files with 38 additions and 47 deletions

View File

@ -0,0 +1,18 @@
<?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('/admin/module_tabs.php', ['tabs' => $tabs]);
}
}