This interface describes the basic information about the data definition.
getAdditionalFilter(string $dataProvider) : array
string
The name of the data provider for which additional filters shall be retrieved.
array
getDataProvider() : string
string
getMode() : int
int
getParentDataProvider() : string
string
getRootDataProvider() : string
string
getRootEntries() : mixed[]
mixed[]
hasAdditionalFilter(string $dataProvider) : bool
string
The name of the data provider for which additional filters shall be checked.
bool
isClosed() : bool
deprecated | Use isEditable, isDeletable or isCreatable instead. |
---|
bool
isCreatable() : bool
bool
isDeletable() : bool
bool
isEditOnlyMode() : bool
bool
isEditable() : bool
bool
isSwitchToEditEnabled() : bool
bool
setAdditionalFilter(string $dataProvider, array $filter) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
string
The name of the data provider for which additional filters shall be passed.
array
Array of filter rules.
setClosed(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
deprecated | Use setEditable, setDeletable or setCreatable instead. |
---|
bool
The flag - true means prohibit element creation, false means allow creation of new elements.
setCreatable(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
bool
True means new entries may be created, false prohibits creation of new entries.
setDataProvider(string $providerName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
string
The name of the data provider of the elements being processed.
setDeletable(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
bool
True means, the data records may be deleted.
setEditOnlyMode(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
bool
The flag - true means that only the edit mode will shown, irrespective of the given action.
setEditable(bool $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
bool
True means, the data records may be edited.
setMode(int $mode) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
int
See 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
string
The name of the data provider of the parent element.
setRootDataProvider(string $providerName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
string
The 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
bool
The flag - true means switch automatically to editing mode, false allows listing.
MODE_FLAT
MODE_HIERARCHICAL
MODE_PARENTEDLIST
NAME