src/Widgets/SubDcaWidget.php
protected function buildOptions()
    {
        $options = array();
        foreach ($this->arrWidgets as $widgetRow) {
            $columns = array();
            foreach ($widgetRow as $widget) {
                /** @var Widget $widget */
                $valign = ($widget->valign != '' ? ' valign="' . $widget->valign . '"' : '');
                $class  = ($widget->tl_class != '' ? ' class="' . $widget->tl_class . '"' : '');
                $style  = ($widget->style != '' ? ' style="' . $widget->style . '"' : '');
                $help   = $this->getHelpForWidget($widget);

                $columns[] = sprintf(
                    '<td %1$s%2$s%3$s>%4$s%5$s</td>',
                    $valign,
                    $class,
                    $style,
                    $widget->parse(),
                    $help
                );
            }
            $options[] = implode('', $columns);
        }

        return $options;
    }
protected function buildOptions()
    {
        $options = array();
        foreach ($this->arrWidgets as $widgetRow) {
            $columns = array();
            foreach ($widgetRow as $widget) {
                /** @var Widget $widget */
                $valign = ($widget->valign != '' ? ' valign="' . $widget->valign . '"' : '');
                $class  = ($widget->tl_class != '' ? ' class="' . $widget->tl_class . '"' : '');
                $style  = ($widget->style != '' ? ' style="' . $widget->style . '"' : '');
                $help   = $this->getHelpForWidget($widget);

                $columns[] = sprintf(
                    '<td %1$s%2$s%3$s>%4$s%5$s</td>',
                    $valign,
                    $class,
                    $style,
                    $widget->parse(),
                    $help
                );
            }
            $options[] = implode('', $columns);
        }

        return $options;
    }
Build the options for a widget.

@return array.