protected static function getPanelContent($content, $type) { $out = ArrayHelper::getValue($content, $type, ''); return !Enum::isEmpty($out) ? $out . "\n" : ''; }