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
stringThe name of the command to parse.
arrayThe chunk from the DCA containing the command specification.
createCommandInstance(string $commandName, array $commandDca) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\CommandInterface
stringThe name of the command to create.
arrayThe Dca information of the command.
evalFlag(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterfaceThe property to evaluate the flag for.
intThe flag to be evaluated.
evalFlagGrouping(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterfaceThe property to evaluate the flag for.
intThe flag to be evaluated.
evalFlagGroupingLength(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterfaceThe property to evaluate the flag for.
intThe flag to be evaluated.
evalFlagSorting(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterface $config, int $flag) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingInformationInterfaceThe property to evaluate the flag for.
intThe flag to be evaluated.
getRootProviderName(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container from where the name shall be retrieved.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
If the root provider can not be determined. |
|---|
stringloadAdditionalDefinitions(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parseBackendView(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe 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\ContainerInterfaceThe container where the data shall be stored.
parseBasicFlags(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface $config) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterfaceThe basic definition of the data definition.
parseBasicMode(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterface $config) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\BasicDefinitionInterfaceThe basic definition of the data definition.
parseCallback(\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, array $callbacks, string $eventName, array $arguments, string $listener) : void
arrayThe callbacks to be handled.
stringThe event to be registered to.
arrayThe arguments to pass to the constructor.
stringThe listener class to use.
parseCallbacks(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parseDataProvider(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parseGlobalOperations(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterfaceThe 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\ContainerInterfaceThe container where the data shall be stored.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterfaceThe listing configuration definition to populate.
arrayThe DCA part containing the information to use.
parseListSorting(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterface $listing, array $listDca) : array
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ListingConfigInterfaceThe listing configuration definition to populate.
arrayThe DCA part containing the information to use.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
In case unsupported values are encountered. |
|---|
arrayparseListing(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : array
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterfaceThe view information for the backend view.
arrayparseModelOperations(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterfaceThe backend view configuration definition to populate.
parsePalettes(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
| SuppressWarnings | (PHPMD.LongVariable) |
|---|
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parsePanel(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterfaceThe listing configuration definition to populate.
parsePanelFilter(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterfaceThe row to which the element shall get added to.
parsePanelLimit(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterfaceThe 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\PanelRowInterfaceThe row to be populated.
stringA 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\PanelRowInterfaceThe row to which the element shall get added to.
parsePanelSort(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterfaceThe row to which the element shall get added to.
parsePanelSubmit(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterface $row) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowInterfaceThe row to which the element shall get added to.
parseParentChildConditions(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parseProperties(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parsePropertyCallbacks(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container, \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe container where the data shall be stored.
parsePropertySortingAndGrouping(string $propName, array $propInfo, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingDefinitionCollectionInterface $definitions, array $parsedProperties) : void
stringThe property to parse.
arrayThe property information.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\GroupAndSortingDefinitionCollectionInterfaceThe definitions.
arrayA list of properties already parsed.
parsePropertySortingAndGroupings(\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterface $view, array $parsedProperties) : void
\ContaoCommunityAlliance\DcGeneral\Contao\DataDefinition\Definition\Contao2BackendViewDefinitionInterfaceThe view information for the backend view.
arrayA list of properties already parsed.
parseRootEntries(\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterface $container) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\ContainerInterfaceThe 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\PropertyInterfaceThe property to parse.
arrayThe property information.
parseSinglePropertyLabel(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property, string|array $label) : void
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterfaceThe property to parse the label for.
stringarrayThe label value.
hasSubmit(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface $rows) : bool
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterfaceThe panel rows.
boolPRIORITY