Widget Builder build Contao backend widgets.
__construct(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment)
buildWidget(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : \Widget
SuppressWarnings | (PHPMD.Superglobals) |
---|---|
SuppressWarnings | (PHPMD.CamelCaseVariableName) |
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
When not running in TL_MODE BE. |
---|
getEnvironment() : \ContaoCommunityAlliance\DcGeneral\EnvironmentInterface
handleEvent(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent $event) : void
getHelpWizard(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $propInfo) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property for which the wizard shall be generated.
string
getListWizard() : string
string
getOptionsForWidget(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $propInfo, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property for which the X label shall be generated.
string
getTableWizard() : string
string
getWidgetClass(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property) : string
SuppressWarnings | (PHPMD.Superglobals) |
---|---|
SuppressWarnings | (PHPMD.CamelCaseVariableName) |
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property to get the widget class name for.
string
getXLabel(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $propInfo) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
The property for which the X label shall be generated.
string