fix to psr4
This commit is contained in:
13
src/ActionBtn/ToListBtn.php
Normal file
13
src/ActionBtn/ToListBtn.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Itguild\Tables\actionBtn;
|
||||
|
||||
class ToListBtn extends ActionBtn
|
||||
{
|
||||
protected string $prefix = "/form-result/";
|
||||
|
||||
public function fetch(): string
|
||||
{
|
||||
return "<a class='btn btn-primary' href='$this->baseUrl$this->prefix$this->id' style='margin: 3px'>Список</a>";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user