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

__construct()

Action constructor.

from  Action
mixed
render()

Render row 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

Model|mixed
row(mixed $key = null)

Set row model.

getRow()

No description

$this
setRow(Model $row)

Set row model.

$this
setColumn(Column $column)

No description

$this
asColumn()

Show this action as a column.

string
href()

No description

display($value)

No description

mixed
getKey()

Get primary key value of current row.

Details

in Action at line 63
__construct()

Action constructor.

at line 122
mixed render()

Render row action.

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

in GridAction at line 51
protected string getModelClass()

No description

Return Value

string

in GridAction 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

in GridAction at line 31
$this setGrid(Grid $grid)

No description

Parameters

Grid $grid

Return Value

$this

in GridAction at line 43
string getResource()

Get url path of current resource.

Return Value

string

in GridAction at line 73
protected bool modelUseSoftDeletes($modelClass)

Indicates if model uses soft-deletes.

Parameters

$modelClass

Return Value

bool

at line 102
void retrieveModel(Request $request)

No description

Parameters

Request $request

Return Value

void

at line 38
Model|mixed row(mixed $key = null)

Set row model.

Parameters

mixed $key

Return Value

Model|mixed

at line 47
getRow()

No description

at line 59
$this setRow(Model $row)

Set row model.

Parameters

Model $row

Return Value

$this

at line 71
$this setColumn(Column $column)

No description

Parameters

Column $column

Return Value

$this

at line 83
$this asColumn()

Show this action as a column.

Return Value

$this

at line 93
string href()

No description

Return Value

string

at line 140
display($value)

No description

Parameters

$value

at line 149
protected mixed getKey()

Get primary key value of current row.

Return Value

mixed