This class renders a backend view panel including all elements.
__construct(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BackendViewInterface $view)
\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BackendViewInterface
The view for which the panel is to be rendered.
render(array $ignoredPanels) : string
array
A list with ignored elements [Optional].
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
When no information of panels can be obtained from the data container. |
---|
string
calculatePanelElementCssClass(int $index, int $max) : string
int
The index of the element in it's panel.
int
The index of the last element in the panel.
string
getEnvironment() : \ContaoCommunityAlliance\DcGeneral\EnvironmentInterface
isIgnoredPanel(\ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface $element, string[] $ignoredPanels) : boolean
string[]
A list with ignored elements.
boolean
True => Element is on the ignored list. | False => Nope not in the list.renderPanelElement(\ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface $element, string $cssClass) : string
string
The CSS class to use for this element (even, odd, first, last, ...).
string
renderPanelRow(\ContaoCommunityAlliance\DcGeneral\Panel\PanelInterface $panel, string[] $ignoredPanels) : string
string[]
Array of class names that shall be ignored.
string
$view : \ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BackendViewInterface