GridAction
abstract class GridAction extends Action
Class 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 |
Methods
string
getModelClass()
No description
array
parameters()
No description
$this
setGrid(Grid $grid)
No description
string
getResource()
Get url path of current resource.
bool
modelUseSoftDeletes($modelClass)
Indicates if model uses soft-deletes.
void
retrieveModel(Request $request)
No description
Details
in
Action at line 63
__construct()
Action constructor.
in
Action at line 71
mixed
render()
No description
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
at line 51
protected string
getModelClass()
No description
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
at line 31
$this
setGrid(Grid $grid)
No description
at line 43
string
getResource()
Get url path of current resource.
at line 73
protected bool
modelUseSoftDeletes($modelClass)
Indicates if model uses soft-deletes.
at line 14
void
retrieveModel(Request $request)
No description