RowAction
abstract class RowAction extends GridAction
Properties
string | $event | from Action | |
string | $selectorPrefix | ||
string | $name | from Action | |
protected Response | $response | from Action | |
protected string | $selector | from Action | |
protected string | $method | from Action | |
protected array | $attributes | from Action | |
protected Interactor | $interactor | from Action | |
static protected array | $selectors | 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.
No description
No description
Get primary key value of current row.
Details
in
Action at line 63
__construct()
Action constructor.
at line 122
mixed
render()
Render row action.
in
Action at line 86
protected
initInteractor()
No description
in
Action at line 106
string
name()
Get batch action title.
in
Action at line 116
mixed|string
selector(string $prefix)
No description
in
Action at line 131
static string
makeSelector(string $class, string $prefix)
No description
in
Action at line 146
$this
attribute(string $name, string $value)
No description
in
Action at line 158
protected string
formatAttributes()
Format the field attributes.
in
Action at line 172
protected string
getElementClass()
No description
in
Action at line 199
string
getMethod()
No description
in
Action at line 207
mixed
getCalledClass()
No description
in
Action at line 215
string
getHandleRoute()
No description
in
GridAction at line 51
protected string
getModelClass()
No description
in
GridAction at line 61
array
parameters()
No description
in
Action at line 241
$this
validate(Request $request)
No description
in
Action at line 258
mixed
__call(string $method, array $arguments = [])
No description
in
Action at line 270
string
html()
No description
in
Action at line 20
void
success(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 20
void
error(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 20
void
warning(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 20
void
info(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 20
void
question(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 20
void
confirm(mixed $title, mixed $text, mixed $options)
No description
in
Action at line 20
void
modalLarge()
No description
in
Action at line 20
void
modalSmall()
No description
in
GridAction at line 31
$this
setGrid(Grid $grid)
No description
in
GridAction at line 43
string
getResource()
Get url path of current resource.
in
GridAction at line 73
protected bool
modelUseSoftDeletes($modelClass)
Indicates if model uses soft-deletes.
at line 102
void
retrieveModel(Request $request)
No description
at line 38
Model|mixed
row(mixed $key = null)
Set row model.
at line 47
getRow()
No description
at line 59
$this
setRow(Model $row)
Set row model.
at line 71
$this
setColumn(Column $column)
No description
at line 83
$this
asColumn()
Show this action as a column.
at line 93
string
href()
No description
at line 140
display($value)
No description
at line 149
protected mixed
getKey()
Get primary key value of current row.