src/Easy/Panel.php
public function render()
    {
        $panel = array();

        /* @var $elem Element */
        foreach ($this->varValue as $elem) {
            if ($elem->canDisplayed()) {
                $panel[$elem->objectName]['element'] = $elem->render();
                $panel[$elem->objectName]['type'] = $elem->className;
                $panel[$elem->objectName]['width'] = $elem->width;
                $panel[$elem->objectName]['elementset'] = $elem->elementSet;
                $panel[$elem->objectName]['elementsetcode'] = $elem->elementSetCode;
                $panel[$elem->objectName]['tabset'] = $elem->tabSet;
                $panel[$elem->objectName]['tabsetcode'] = $elem->tabSetCode;
                $panel[$elem->objectName]['extra'] = $elem->extra;
                if (isset($elem->label) && $elem->label !== null)
                    $panel[$elem->objectName]['label'] = $elem->renderLabel();
                if (isset($elem->value) && $elem->value !== null)
                    $panel[$elem->objectName]['value'] = $elem->value;
                if (isset($elem->objectDescription) && $elem->objectDescription !== null)
                    $panel[$elem->objectName]['description'] = $elem->getDescription();
                if (isset($elem->required))
                    $panel[$elem->objectName]['required'] = $elem->required;
                if (isset($elem->columnStyle))
                    $panel[$elem->objectName]['colstyle'] = $elem->columnStyle;
            }
        }

        return $panel;
    }
public function render()
    {
        $panel = array();

        /* @var $elem Element */
        foreach ($this->varValue as $elem) {
            if ($elem->canDisplayed()) {
                $panel[$elem->objectName]['element'] = $elem->render();
                $panel[$elem->objectName]['type'] = $elem->className;
                $panel[$elem->objectName]['width'] = $elem->width;
                $panel[$elem->objectName]['elementset'] = $elem->elementSet;
                $panel[$elem->objectName]['elementsetcode'] = $elem->elementSetCode;
                $panel[$elem->objectName]['tabset'] = $elem->tabSet;
                $panel[$elem->objectName]['tabsetcode'] = $elem->tabSetCode;
                $panel[$elem->objectName]['extra'] = $elem->extra;
                if (isset($elem->label) && $elem->label !== null)
                    $panel[$elem->objectName]['label'] = $elem->renderLabel();
                if (isset($elem->value) && $elem->value !== null)
                    $panel[$elem->objectName]['value'] = $elem->value;
                if (isset($elem->objectDescription) && $elem->objectDescription !== null)
                    $panel[$elem->objectName]['description'] = $elem->getDescription();
                if (isset($elem->required))
                    $panel[$elem->objectName]['required'] = $elem->required;
                if (isset($elem->columnStyle))
                    $panel[$elem->objectName]['colstyle'] = $elem->columnStyle;
            }
        }

        return $panel;
    }
Render the Panel and return array of rendering element (html text)

@return string - html text