This interface describes a controller.
applyClipboardActions(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $source, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $after, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $into, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $parentModelId, \ContaoCommunityAlliance\DcGeneral\Clipboard\FilterInterface $filter, array $items) : \ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface | \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface[]
array
Write-back evaluated clipboard items.
assembleAllChildrenFrom(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objModel, string $strDataProvider) : array
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
The model to assemble children from.
string
The name of the data provider to fetch children from.
array
createClonedModel(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
createEmptyModelWithDefaults() : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
fetchModelFromProvider(string|\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $modelId, string|null $providerName) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
string
\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface
This is either the id of the model or a serialized id.
string
null
The name of the provider, if this is empty, the id will be deserialized and the provider name will get extracted from there.
getBaseConfig(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $parentId) : \ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface
getEnvironment() : \ContaoCommunityAlliance\DcGeneral\EnvironmentInterface
getModelFromClipboardItem(\ContaoCommunityAlliance\DcGeneral\Clipboard\ItemInterface $item) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
getModelsFromClipboard(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $parentModelId) : \ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface | \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface[]
\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface
The optional parent id. If not given, the models must not have a parent.
getModelsFromClipboardItems(array|\ContaoCommunityAlliance\DcGeneral\Clipboard\ItemInterface[] $items) : \ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface | \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface[]
getSupportedLanguages(mixed $mixID) : array
mixed
The id of a model for which the languages shall be retrieved.
array
handle(\ContaoCommunityAlliance\DcGeneral\Action $action) : string
string
isRootModel(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : bool
bool
pasteAfter(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $previousModel, \ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface $models, string $sortedBy) : void
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
The model after which to paste.
string
The name of the sorting property.
pasteInto(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $parentModel, \ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface $models, string $sortedBy) : void
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
The model to become the parent model of the clipboard content.
string
The name of the sorting property.
pasteTop(\ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface $models, string $sortedBy, \ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $parentId) : void
string
The name of the sorting property.
searchParentOf(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
The model for which the parent shall be retrieved.
searchParentOfIn(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface $models) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
setEnvironment(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : \ContaoCommunityAlliance\DcGeneral\Controller\ControllerInterface
setParent(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $childModel, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $parentModel) : \ContaoCommunityAlliance\DcGeneral\Controller\ControllerInterface
setRootModel(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : \ContaoCommunityAlliance\DcGeneral\Controller\ControllerInterface
setSameParent(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $receivingModel, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $sourceModel, string $parentTable) : \ContaoCommunityAlliance\DcGeneral\Controller\ControllerInterface
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
The model that shall get updated.
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
The model that the values shall get retrieved from.
string
The name of the parent table for the models.
updateModelFromPropertyBag(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface $propertyValues) : \ContaoCommunityAlliance\DcGeneral\Controller\ControllerInterface
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface
The value bag to retrieve the values from.