trait HasActions (View source)

Properties

protected Action[] $cachedActions
protected array $actions
protected Model|string|null $actionFormModel

Methods

registerActions(array $actions)

No description

Action|null
getAction(string $name)

No description

array
getActions()

No description

array
cacheActions()

No description

prepareAction(Action $action)

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|null getAction(string $name)

No description

Parameters

string $name

Return Value

Action|null

array getActions()

No description

Return Value

array

array cacheActions()

No description

Return Value

array

Action prepareAction(Action $action)

No description

Parameters

Action $action

Return Value

Action

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