Class LegacyPalettesParser.
createPaletteCondition(string $paletteSelector, array $selectorFieldNames) : null | \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface
string
Create the condition for the selector.
array
The property names to be used as selectors.
createSubpaletteCondition(string $subPaletteSelector, array $selectorFieldNames) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyTrueCondition | \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyValueCondition | null
string
The selector being evaluated.
array
The names of the properties to be used as selectors [optional].
createSubpaletteSelectorFieldName(string $subPaletteSelector, array $selectorFieldNames) : string
string
The selector being evaluated.
array
The names of the properties to be used as selectors [optional].
string
parse(array $palettes, array $subpalettes, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteCollectionInterface|null $collection) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteCollectionInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteCollectionInterface
null
The palette collection to populate [optional].
parsePalette(string $paletteSelector, string $fields, array $subPaletteProperties, \ContaoCommunityAlliance\DcGeneral\Contao\Dca\Palette\array(string) $selectorFieldNames, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface $palette) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Palette
string
The selector for the palette.
string
The fields contained within the palette.
\ContaoCommunityAlliance\DcGeneral\Contao\Dca\Palette\array(string)
The names of all properties being used as selectors [optional].
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface
The palette to be populated [optional].
parsePalettes(array $palettes, array $subPaletteProperties, array $selectorFieldNames, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteCollectionInterface $collection) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteCollectionInterface
array
List of names of the properties to be used as selector [optional].
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteCollectionInterface
The palette collection to populate [optional].
parseSubpalette(string $subPaletteSelector, string $childFields, array $selectorFieldNames) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface[]
string
The selector in use.
string
List of the properties for the sub palette.
array
List of the selector properties [optional].
parseSubpalettes(array $subpalettes, array $selectorFieldNames) : \ContaoCommunityAlliance\DcGeneral\Contao\Dca\Palette\array(string
array
The sub palettes to parse.
array
Names of the selector properties [optional].
\ContaoCommunityAlliance\DcGeneral\Contao\Dca\Palette\array(string
=> PropertyInterface[])