igfs/kernel/widgets/ModuleTabsWidget.php
2024-12-04 13:11:12 +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]);
}
}