Class PrepareMultipleModelsActionEvent.

This event gets emitted when a multiple action shall be handled. A list of affected model ids are given. Use this event to apply permission based filtering.

 Methods

Create a new instance.

__construct(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment, \ContaoCommunityAlliance\DcGeneral\Action $action, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface[] $modelIds, string $submitAction) 

Parameters

$modelIds

\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface[]

The list of model ids being parsed.

$submitAction

string

The submit action name.

Get the submit action.

getSubmitAction() : string

Returns

string

Set the model ids.

setModelIds(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface[] $modelIds) : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\PrepareMultipleModelsActionEvent
fluent This method is part of a fluent interface and will return the same instance

Parameters

Returns

\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\PrepareMultipleModelsActionEvent

 Properties

   

The submit action.

$submitAction : string

 Constants

 

NAME

NAME