kernel update

This commit is contained in:
2024-11-19 12:31:48 +03:00
parent 2af9ea876d
commit 16cec04f6f
13 changed files with 716 additions and 107 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace kernel\widgets;
use kernel\Widget;
class ActionButtonWidget extends Widget
{
public function run(): void
{
$icon = $this->data['icon'];
$btn = $this->data['btn'];
$url = $this->data['url'];
$this->cgView->render('/admin/action_button.php', ['icon' => $icon, 'btn' => $btn, 'url' => $url]);
}
}