This interface describes the basic information about the data definition.
getAdditionalFilter(string $dataProvider) : array
stringThe name of the data provider for which additional filters shall be retrieved.
arraygetDataProvider() : string
stringgetMode() : int
intgetParentDataProvider() : string
stringgetRootDataProvider() : string
stringgetRootEntries() : mixed[]
mixed[]hasAdditionalFilter(string $dataProvider) : bool
stringThe name of the data provider for which additional filters shall be checked.
boolisClosed() : bool
| deprecated | Use isEditable, isDeletable or isCreatable instead. |
|---|
boolisCreatable() : bool
boolisDeletable() : bool
boolisEditOnlyMode() : bool
boolisEditable() : bool
boolisSwitchToEditEnabled() : bool
boolsetAdditionalFilter(string $dataProvider, array $filter) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
stringThe name of the data provider for which additional filters shall be passed.
arrayArray of filter rules.
setClosed(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
| deprecated | Use setEditable, setDeletable or setCreatable instead. |
|---|
boolThe flag - true means prohibit element creation, false means allow creation of new elements.
setCreatable(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
boolTrue means new entries may be created, false prohibits creation of new entries.
setDataProvider(string $providerName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
stringThe name of the data provider of the elements being processed.
setDeletable(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
boolTrue means, the data records may be deleted.
setEditOnlyMode(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
boolThe flag - true means that only the edit mode will shown, irrespective of the given action.
setEditable(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
boolTrue means, the data records may be edited.
setMode(int $mode) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
intSee the constants in this interface. The mode should either be {@link BasicDefinitionInterface::MODE_FLAT} or {@link BasicDefinitionInterface::MODE_HIERARCHICAL}.
setParentDataProvider(string $providerName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
stringThe name of the data provider of the parent element.
setRootDataProvider(string $providerName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
stringThe name of the data provider of the root elements.
setRootEntries(mixed[] $entries) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
mixed[]The ids of the items to be used as root elements.
setSwitchToEditEnabled(bool $switchToEditEnabled) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
boolThe flag - true means switch automatically to editing mode, false allows listing.
MODE_FLAT
MODE_HIERARCHICAL
MODE_PARENTEDLIST
NAME