public function splitArr($a)
 {
     $Output = new Output();
     if (NULL === $Output->splitArr($a)) {
         return '';
     }
     return $Output->splitArr($a);
 }
 public function getDefaultPresetClass()
 {
     $Presets = new PresetsModel();
     $arrPreset = $Presets->getDefaultPreset();
     $Output = new Output();
     return $Output->getCssClassesAsString($arrPreset, '', array());
 }
 public function getNiceBackendView($row, $label)
 {
     $tpl = new \BackendTemplate($this->strTemplate);
     $tpl->tags_default = Null !== $row['use_as_default_for'] ? deserialize($row['use_as_default_for'], true) : false;
     $tpl->tags_access = Null !== $row['show_in_sections'] ? deserialize($row['show_in_sections'], true) : false;
     $tpl->label = $label;
     $tpl->name = $row['name'];
     $tpl->description = $row['description'];
     $defaultWidth = \Config::get('co_presets_be_view_image_width');
     $defaultHeight = \Config::get('co_presets_be_view_image_height');
     $previewImage = array();
     $SelectWizardClass = new PresetsSelectWizard();
     $previewImage['path'] = $SelectWizardClass->getImagePath($row['preview']);
     $previewImage['width'] = $defaultWidth;
     $previewImage['height'] = $defaultHeight;
     $tpl->image = $previewImage;
     $Output = new Output();
     $tpl->class = $Output->getCssClassesAsString($row, '', array());
     return $tpl->parse();
 }