abstract class Action implements Renderable

Properties

string $event
string $selectorPrefix
string $name
protected Response $response
protected string $selector
protected string $method
protected array $attributes
protected Interactor $interactor
static protected array $selectors

Methods

__construct()

Action constructor.

mixed
render()

No description

initInteractor()

No description

string
name()

Get batch action title.

mixed|string
selector(string $prefix)

No description

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

No description

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

No description

string
formatAttributes()

Format the field attributes.

string
getElementClass()

No description

response()

No description

string
getMethod()

No description

mixed
getCalledClass()

No description

string
getHandleRoute()

No description

string
getModelClass()

No description

array
parameters()

No description

$this
validate(Request $request)

No description

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

No description

string
html()

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

void
modalLarge()

No description

void
modalSmall()

No description

Details

at line 63
__construct()

Action constructor.

at line 71
mixed render()

No description

Return Value

mixed

at line 86
protected initInteractor()

No description

Exceptions

Exception

at line 106
string name()

Get batch action title.

Return Value

string

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

No description

Parameters

string $prefix

Return Value

mixed|string

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

No description

Parameters

string $class
string $prefix

Return Value

string

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

No description

Parameters

string $name
string $value

Return Value

$this

at line 158
protected string formatAttributes()

Format the field attributes.

Return Value

string

at line 172
protected string getElementClass()

No description

Return Value

string

at line 180
Response response()

No description

Return Value

Response

at line 199
string getMethod()

No description

Return Value

string

at line 207
mixed getCalledClass()

No description

Return Value

mixed

at line 215
string getHandleRoute()

No description

Return Value

string

at line 223
protected string getModelClass()

No description

Return Value

string

at line 231
array parameters()

No description

Return Value

array

at line 241
$this validate(Request $request)

No description

Parameters

Request $request

Return Value

$this

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

No description

Parameters

string $method
array $arguments

Return Value

mixed

Exceptions

Exception

at line 270
string html()

No description

Return Value

string

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

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

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

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

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

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

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

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

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

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

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

No description

Parameters

mixed $title
mixed $text
mixed $options

Return Value

void

at line 20
void modalLarge()

No description

Return Value

void

at line 20
void modalSmall()

No description

Return Value

void