This commit is contained in:
2024-10-17 11:35:56 +03:00
parent 9af44ca95f
commit 5285acae12
28 changed files with 34 additions and 355 deletions

View File

@ -1,17 +0,0 @@
<?php
namespace kernel\modules\menu\table\columns;
use Itguild\Tables\ActionColumn\ActionColumn;
class MenuViewActionColumn extends ActionColumn
{
protected string $prefix = "/";
public function fetch(): string
{
$link = $this->baseUrl . $this->prefix . $this->id;
return " <a href='$link' class='btn btn-primary'>Просмотр</a> ";
}
}