MicroFrameWork/kernel/widgets/ModuleTabsWidget.php

18 lines
370 B
PHP
Raw Normal View History

2024-11-05 15:36:46 +03:00
<?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' => 'Каталог'
];
2024-11-19 13:41:13 +03:00
$this->cgView->render('/module_tabs.php', ['tabs' => $tabs]);
2024-11-05 15:36:46 +03:00
}
}