/**
  * Standard Version of Fill Row. Most likely to
  * be overwritten by derived class.
  */
 protected function fillRow($a_set)
 {
     global $lng, $ilCtrl;
     // action
     $ilCtrl->setParameter($this->parent_obj, "layout_id", $a_set['layout_id']);
     $this->tpl->setCurrentBlock("action");
     $this->tpl->setVariable("HREF_ACTION", $ilCtrl->getLinkTarget($this->parent_obj, "exportLayout"));
     $this->tpl->setVariable("TXT_ACTION", $lng->txt("export"));
     $this->tpl->parseCurrentBlock();
     $ilCtrl->setParameter($this->parent_obj, "layout_id", "");
     // modules
     $this->tpl->setCurrentBlock("mod");
     foreach ($this->all_mods as $mod_id => $mod_caption) {
         if ($mod_id == ilPageLayout::MODULE_SCORM && $a_set["mod_scorm"] || $mod_id == ilPageLayout::MODULE_PORTFOLIO && $a_set["mod_portfolio"]) {
             $this->tpl->setVariable("MOD_STATUS", " checked=\"checked\"");
         }
         $this->tpl->setVariable("MODULE_ID", $mod_id);
         $this->tpl->setVariable("LAYOUT_ID", $a_set["layout_id"]);
         $this->tpl->setVariable("MOD_NAME", $mod_caption);
         $this->tpl->parseCurrentBlock();
     }
     if ($a_set['active']) {
         $this->tpl->setVariable("IMG_ACTIVE", ilUtil::getImagePath("icon_ok.svg"));
     } else {
         $this->tpl->setVariable("IMG_ACTIVE", ilUtil::getImagePath("icon_not_ok.svg"));
     }
     $this->tpl->setVariable("VAL_TITLE", $a_set['title']);
     $this->tpl->setVariable("VAL_DESCRIPTION", $a_set['description']);
     $this->tpl->setVariable("CHECKBOX_ID", $a_set['layout_id']);
     $ilCtrl->setParameterByClass("ilobjstylesettingsgui", "obj_id", $a_set['layout_id']);
     $this->tpl->setVariable("HREF_EDIT_PGLAYOUT", $ilCtrl->getLinkTargetByClass("ilobjstylesettingsgui", "editPg"));
     $pgl_obj = new ilPageLayout($a_set['layout_id']);
     $this->tpl->setVariable("VAL_PREVIEW_HTML", $pgl_obj->getPreview());
     if ($a_set["style_id"] > 0) {
         $this->tpl->setVariable("STYLE", ilObject::_lookupTitle($a_set["style_id"]));
     }
     $this->tpl->setVariable("TYPE", ilUtil::formSelect($a_set["special_page"], "type[" . $a_set["layout_id"] . "]", array("0" => $lng->txt("cont_layout_template"), "1" => $lng->txt("cont_special_page")), false, true));
 }