backend/kernel/IGTabel/action_column/InstallActionColumn.php

17 lines
376 B
PHP
Raw Normal View History

2024-10-29 14:53:52 +03:00
<?php
namespace kernel\IGTabel\action_column;
use Itguild\Tables\ActionColumn\ActionColumn;
class InstallActionColumn extends ActionColumn
{
protected string $prefix = '/install/';
public function fetch()
{
$link = $this->baseUrl . $this->prefix . $this->id;
return " <a href='$link' class='btn btn-warning'>Установить</a> ";
}
}