trait HasActions (View source)

Properties

protected array $actions
protected Model|string|null $actionFormModel

Methods

registerActions(array $actions)

No description

Action|Closure|null
getAction(string $name)

No description

array
getActions()

No description

actionFormModel(Model|string|null $model)

No description

Model|string|null
getActionFormModel()

No description

bool
hasAction(string $name)

No description

Details

HasActions registerActions(array $actions)

No description

Parameters

array $actions

Return Value

HasActions

Action|Closure|null getAction(string $name)

No description

Parameters

string $name

Return Value

Action|Closure|null

array getActions()

No description

Return Value

array

HasActions actionFormModel(Model|string|null $model)

No description

Parameters

Model|string|null $model

Return Value

HasActions

Model|string|null getActionFormModel()

No description

Return Value

Model|string|null

bool hasAction(string $name)

No description

Parameters

string $name

Return Value

bool