Build the container config from legacy DCA syntax.
build(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent $event)
SuppressWarnings | (PHPMD.UnusedFormalParameter) |
---|
createCommand(string $commandName, array $commandDca) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\CommandInterface
string
The name of the command to parse.
array
The chunk from the DCA containing the command specification.
createCommandInstance(string $commandName, array $commandDca) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\CommandInterface
string
The name of the command to create.
array
The Dca information of the command.
evalFlag(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface
The property to evaluate the flag for.
int
The flag to be evaluated.
evalFlagGrouping(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface
The property to evaluate the flag for.
int
The flag to be evaluated.
evalFlagGroupingLength(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface
The property to evaluate the flag for.
int
The flag to be evaluated.
evalFlagSorting(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface
The property to evaluate the flag for.
int
The flag to be evaluated.
getRootProviderName(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container from where the name shall be retrieved.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
If the root provider can not be determined. |
---|
string
loadAdditionalDefinitions(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parseBackendView(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException |
If the stored backend view definition does not implement the correct interface. |
---|
parseBasicDefinition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parseBasicFlags(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface $config) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
The basic definition of the data definition.
parseBasicMode(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface $config) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface
The basic definition of the data definition.
parseCallback(\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, array $callbacks, string $eventName, array $arguments, string $listener) : void
array
The callbacks to be handled.
string
The event to be registered to.
array
The arguments to pass to the constructor.
string
The listener class to use.
parseCallbacks(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parseDataProvider(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parseGlobalOperations(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface
The backend view configuration definition to populate.
parseListLabel(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterface $listing, array $listDca) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterface
The listing configuration definition to populate.
array
The DCA part containing the information to use.
parseListSorting(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterface $listing, array $listDca) : array
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterface
The listing configuration definition to populate.
array
The DCA part containing the information to use.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
In case unsupported values are encountered. |
---|
array
parseListing(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : array
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface
The view information for the backend view.
array
parseModelOperations(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface
The backend view configuration definition to populate.
parsePalettes(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
SuppressWarnings | (PHPMD.LongVariable) |
---|
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parsePanel(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface
The listing configuration definition to populate.
parsePanelFilter(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface
The row to which the element shall get added to.
parsePanelLimit(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface
The row to which the element shall get added to.
parsePanelRow(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row, string $elementList) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface
The row to be populated.
string
A comma separated list of elements to be stored in the row.
parsePanelSearch(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface
The row to which the element shall get added to.
parsePanelSort(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface
The row to which the element shall get added to.
parsePanelSubmit(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface
The row to which the element shall get added to.
parseParentChildConditions(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parseProperties(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parsePropertyCallbacks(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parsePropertySortingAndGrouping(string $propName, array $propInfo, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingDefinitionCollectionInterface $definitions, array $parsedProperties) : void
string
The property to parse.
array
The property information.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingDefinitionCollectionInterface
The definitions.
array
A list of properties already parsed.
parsePropertySortingAndGroupings(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view, array $parsedProperties) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface
The view information for the backend view.
array
A list of properties already parsed.
parseRootEntries(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface
The container where the data shall be stored.
parseSingleProperty(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property, array $propInfo) : void
SuppressWarnings | (PHPMD.CyclomaticComplexity) |
---|
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property to parse.
array
The property information.
parseSinglePropertyLabel(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property, string|array $label) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property to parse the label for.
string
array
The label value.
hasSubmit(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface $rows) : bool
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface
The panel rows.
bool
PRIORITY