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

__construct()

Action constructor.

from  Action
mixed
render()

No description

from  Action
initInteractor()

No description

from  Action
string
name()

Get batch action title.

from  Action
mixed|string
selector(string $prefix)

No description

from  Action
static string
makeSelector(string $class, string $prefix)

No description

from  Action
$this
attribute(string $name, string $value)

No description

from  Action
string
formatAttributes()

Format the field attributes.

from  Action
string
getElementClass()

No description

from  Action
response()

No description

from  Action
string
getMethod()

No description

from  Action
mixed
getCalledClass()

No description

from  Action
string
getHandleRoute()

No description

from  Action
string
getModelClass()

No description

array
parameters()

No description

$this
validate(Request $request)

No description

from  Action
mixed
__call(string $method, array $arguments = [])

No description

from  Action
string
html()

No description

from  Action
void
success(mixed $title, mixed $text, mixed $options)

No description

from  Action
void
error(mixed $title, mixed $text, mixed $options)

No description

from  Action
void
warning(mixed $title, mixed $text, mixed $options)

No description

from  Action
void
info(mixed $title, mixed $text, mixed $options)

No description

from  Action
void
question(mixed $title, mixed $text, mixed $options)

No description

from  Action
void
confirm(mixed $title, mixed $text, mixed $options)

No description

from  Action
void
modalLarge()

No description

from  Action
void
modalSmall()

No description

from  Action
$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

Return Value

mixed

in Action at line 86
protected initInteractor()

No description

Exceptions

Exception

in Action at line 106
string name()

Get batch action title.

Return Value

string

in Action at line 116
mixed|string selector(string $prefix)

No description

Parameters

string $prefix

Return Value

mixed|string

in Action at line 131
static string makeSelector(string $class, string $prefix)

No description

Parameters

string $class
string $prefix

Return Value

string

in Action at line 146
$this attribute(string $name, string $value)

No description

Parameters

string $name
string $value

Return Value

$this

in Action at line 158
protected string formatAttributes()

Format the field attributes.

Return Value

string

in Action at line 172
protected string getElementClass()

No description

Return Value

string

in Action at line 180
Response response()

No description

Return Value

Response

in Action at line 199
string getMethod()

No description

Return Value

string

in Action at line 207
mixed getCalledClass()

No description

Return Value

mixed

in Action at line 215
string getHandleRoute()

No description

Return Value

string

at line 51
protected string getModelClass()

No description

Return Value

string

at line 61
array parameters()

No description

Return Value

array

in Action at line 241
$this validate(Request $request)

No description

Parameters

Request $request

Return Value

$this

in Action at line 258
mixed __call(string $method, array $arguments = [])

No description

Parameters

string $method
array $arguments

Return Value

mixed

Exceptions

Exception

in Action at line 270
string html()

No description

Return Value

string

in Action at line 20
void success(mixed $title, mixed $text, mixed $options)

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

in Action at line 20
void error(mixed $title, mixed $text, mixed $options)

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

in Action at line 20
void warning(mixed $title, mixed $text, mixed $options)

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

in Action at line 20
void info(mixed $title, mixed $text, mixed $options)

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

in Action at line 20
void question(mixed $title, mixed $text, mixed $options)

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

in Action at line 20
void confirm(mixed $title, mixed $text, mixed $options)

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

in Action at line 20
void modalLarge()

No description

Return Value

void

in Action at line 20
void modalSmall()

No description

Return Value

void

at line 31
$this setGrid(Grid $grid)

No description

Parameters

Grid $grid

Return Value

$this

at line 43
string getResource()

Get url path of current resource.

Return Value

string

at line 73
protected bool modelUseSoftDeletes($modelClass)

Indicates if model uses soft-deletes.

Parameters

$modelClass

Return Value

bool

at line 14
void retrieveModel(Request $request)

No description

Parameters

Request $request

Return Value

void