Class SelectController.

This class handles multiple actions.

 Methods

Handle the action.

process() : void

Get The model ids from the environment.

getModelIds(\ContaoCommunityAlliance\DcGeneral\Action $action, string $submitAction) : \ContaoCommunityAlliance\DcGeneral\Data\ModelId[]

Parameters

$submitAction

string

The submit action name.

Returns

Get the parent model id.

getParentId() : \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface | null
Returns null if no parent id is given.

Returns

Get the submit action name.

getSubmitAction() : string

Returns

string

Handle the delete all action.

handleCopyAllAction(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface[] $modelIds) : void

Parameters

Handle the delete all action.

handleCutAllAction(\ContaoCommunityAlliance\DcGeneral\Data\ModelId[] $modelIds) : void

Parameters

$modelIds

\ContaoCommunityAlliance\DcGeneral\Data\ModelId[]

The list of model ids.

Handle the delete all action.

handleDeleteAllAction(\ContaoCommunityAlliance\DcGeneral\Data\ModelId[] $modelIds) : void

Parameters

$modelIds

\ContaoCommunityAlliance\DcGeneral\Data\ModelId[]

The list of model ids.

Handle the delete all action.

handleEditAllAction(\ContaoCommunityAlliance\DcGeneral\Data\ModelId[] $modelIds) : void

Parameters

$modelIds

\ContaoCommunityAlliance\DcGeneral\Data\ModelId[]

The list of model ids.

Handle the delete all action.

handleOverrideAllAction(\ContaoCommunityAlliance\DcGeneral\Data\ModelId[] $modelIds) : void

Parameters

$modelIds

\ContaoCommunityAlliance\DcGeneral\Data\ModelId[]

The list of model ids.