Метод |
Описание |
|
__construct ( DataGrid $grid, string $href, string $name, array $params ) |
|
|
addAttributes ( array $attrs ) : static |
Set attributes for a element |
|
addParameters ( array $parameters ) : static |
Add parameters to link |
|
getClass ( Row $row ) : string |
Get attribute class |
|
getConfirm ( Row $row ) : string |
Get confirm dialog for particular row item |
|
getIcon ( Row $row ) : string |
Get icon |
|
getPropertyStringOrCallableGetString ( Row $row, string | callable | null $property, string $name ) : string |
Check whether given property is string or callable
in that case call callback and check property and return it |
|
getTitle ( Row $row ) : string |
Get attribute title |
|
render ( Row $row ) : mixed |
Render row item into template |
|
setClass ( string | callable $class ) : static |
Set attribute class |
|
setConfirm ( string | callable $message, string $column = NULL ) : static |
Set confirm dialog |
|
setDataAttribute ( string $key, mixed $value ) : static |
Setting data attributes |
|
setIcon ( string | callable $icon ) : static | callable |
Set icon |
|
setTitle ( string | callable $title ) : static |
Set attribute title |
|