RowAction
abstract class RowAction extends GridAction
Properties
static protected array | $selectors | from Action | |
string | $event | from Action | |
string | $selectorPrefix | ||
string | $name | from Action | |
protected string | $selector | from Action | |
protected string | $method | from Action | |
protected array | $attributes | from Action | |
protected Grid | $parent | from GridAction | |
protected Model | $row | ||
protected Column | $column | ||
protected bool | $asColumn |
Methods
Render row action.
No description
Set row model.
No description
Set row model.
Show this action as a column.
Get primary key value of current row.
Details
at line 117
mixed
render()
Render row action.
in
Action at line 76
string
name()
Get batch action title.
in
Action at line 86
mixed|string
selector(string $prefix)
No description
in
Action at line 101
static string
makeSelector(string $class, string $prefix)
No description
in
Action at line 116
$this
attribute(string $name, string $value)
No description
in
Action at line 126
string
getMethod()
No description
in
Action at line 134
mixed
getCalledClass()
No description
in
GridAction at line 53
array
parameters()
No description
in
Action at line 152
$this
validate()
No description
in
Action at line 165
mixed
__call(string $method, array $arguments = [])
No description
in
Action at line 174
string
html()
No description
in
Action at line 183
protected string
formatAttributes()
Format the field attributes.
in
Action at line 197
protected string
getElementClass()
No description
in
GridAction at line 61
protected string
getModelClass()
No description
in
Action at line 22
void
success(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 22
void
error(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 22
void
warning(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 22
void
info(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 22
void
question(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 22
void
confirm(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 22
void
modalLarge()
No description
in
Action at line 22
void
modalSmall()
No description
in
GridAction at line 33
$this
setGrid(Grid $grid)
No description
in
GridAction at line 45
string
getResource()
Get url path of current resource.
in
GridAction at line 75
protected bool
modelUseSoftDeletes($modelClass)
Indicates if model uses soft-deletes.
at line 97
void
retrieveModel(Request $request)
No description
at line 40
Model|mixed
row(mixed $key = null)
Set row model.
at line 49
getRow()
No description
at line 61
$this
setRow(Model $row)
Set row model.
at line 73
$this
setColumn(Column $column)
No description
at line 85
$this
asColumn()
Show this action as a column.
at line 134
protected mixed
getKey()
Get primary key value of current row.