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\PropertyInterfaceThe 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\PropertyInterfaceThe property for which the wizard shall be generated.
stringgetListWizard() : string
stringgetOptionsForWidget(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $propInfo, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterfaceThe property for which the X label shall be generated.
stringgetTableWizard() : string
stringgetWidgetClass(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property) : string
| SuppressWarnings | (PHPMD.Superglobals) |
|---|---|
| SuppressWarnings | (PHPMD.CamelCaseVariableName) |
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterfaceThe property to get the widget class name for.
stringgetXLabel(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $propInfo) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterfaceThe property for which the X label shall be generated.
string