igfs/kernel/widgets/ModuleTabsWidget.php

18 lines
363 B
PHP
Raw Normal View History

2024-11-18 16:04:57 +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-12-04 13:11:12 +03:00
$this->cgView->render('/tabs.php', ['tabs' => $tabs]);
2024-11-18 16:04:57 +03:00
}
}