| 1 | <?php |
||
| 7 | class ActionsColumn extends BaseColumn |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * By default is empty for this column |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | public $title = ''; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Value contains short codes for actions |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | public $value = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var bool |
||
| 23 | */ |
||
| 24 | public $sortable = false; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $formatters = []; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $delimiter = ' '; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var null |
||
| 38 | */ |
||
| 39 | public $filter = null; |
||
| 40 | |||
| 41 | public function __construct(array $config) |
||
| 46 | |||
| 47 | protected function buildActions() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return array |
||
| 70 | */ |
||
| 71 | protected function configTests(): array |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @inheritdoc |
||
| 81 | */ |
||
| 82 | public function _renderValue($row) |
||
| 92 | } |