type)) UniteFunctionsUC::throwError("UniteCreatorParamsEditor error: editor not inited"); } /** * output html of the params editor */ public function outputHtmlTable(){ $this->validateInited(); $style=""; if($this->isHiddenAtStart == true) $style = "style='display:none'"; ?>
isHiddenAtStart = true; } /** * * init editor by type */ public function init($type){ switch($type){ case self::TYPE_MAIN: break; case self::TYPE_ITEMS: $this->isItemsType = true; break; default: UniteFunctionsUC::throwError("Wrong editor type: {$type}"); break; } $this->type = $type; } }