A simple element contained within a panel.

 Methods

Initialize the passed configuration with the values of the element.

initialize(\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig, \ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface $objElement) : void

Parameters

$objConfig

\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface

The config to which the initialization shall be applied to.

$objElement

\ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface

The element to be initialized (if any).

Render the element using the given Template.

render(\ContaoCommunityAlliance\DcGeneral\View\ViewTemplateInterface $objTemplate) : \ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface

Return the parenting panel.

setPanel(\ContaoCommunityAlliance\DcGeneral\Panel\PanelInterface $objPanel) : \ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface