custom ation column

This commit is contained in:
2024-07-15 17:19:30 +03:00
parent 4bdd883d67
commit cf347f1dc2
2 changed files with 13 additions and 2 deletions

View File

@ -8,8 +8,11 @@ abstract class ActionColumn
protected string $prefix;
protected int $id;
public function __construct(string $baseUrl, int $id)
public function __construct(string $baseUrl, int $id, string $prefix = '')
{
if (!empty($prefix)){
$this->prefix = $prefix;
}
$this->baseUrl = $baseUrl;
$this->id = $id;
}