first table

This commit is contained in:
kali
2024-05-27 12:11:56 +03:00
commit 3f6e5ffcec
11 changed files with 486 additions and 0 deletions

13
actionBtn/ToEditBtn.php Normal file
View File

@ -0,0 +1,13 @@
<?php
namespace itguild\forms\table\actionBtn;
class ToEditBtn extends ActionBtn
{
protected string $prefix = "/form-edit/";
public function fetch(): string
{
return "<a class='btn btn-warning' href='$this->baseUrl$this->prefix$this->id' style='margin: 3px'>Редактировать</a>";
}
}