MicroFrameWork/app/action_btn/CreateUserBtn.php

15 lines
337 B
PHP
Raw Permalink Normal View History

2024-07-24 17:22:59 +03:00
<?php
namespace app\action_btn;
use Itguild\Tables\actionBtn\ActionBtn;
class CreateUserBtn extends ActionBtn
{
protected string $prefix = "/admin/user/create";
public function fetch(): string
{
return "<a class='btn btn-primary' href='$this->baseUrl$this->prefix' style='margin: 3px'>Создать</a>";
}
}