kernel update
This commit is contained in:
16
kernel/widgets/ActionButtonWidget.php
Normal file
16
kernel/widgets/ActionButtonWidget.php
Normal 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]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user