/** * Constructor * * @param */ function ilPropertyFormGUI() { global $lng; $lng->loadLanguageModule("form"); parent::ilFormGUI(); // do it as early as possible $this->rebuildUploadedFiles(); }
/** * Constructor * * @param */ function __construct() { global $lng, $tpl; $this->maxdepth = -1; $this->multi_commands = array(); $this->commands = array(); $this->drag_target[] = array(); $this->drag_content[] = array(); $lng->loadLanguageModule("form"); $this->setCheckboxName("cbox"); parent::ilFormGUI(); $this->help_items = array(); include_once "./Services/YUI/classes/class.ilYuiUtil.php"; ilYuiUtil::initDragDrop(); $tpl->addJavascript("./Services/Form/js/ServiceFormHierarchyForm.js"); }
/** * Get HTML * * @param * @return */ function getHTML() { return parent::getHTML() . $this->getLegend(); }
public function getHTML() { $html = parent::getHTML(); // #13531 - get content that has to reside outside of the parent form tag, e.g. panels/layers foreach ($this->items as $item) { // #13536 - ilFormSectionHeaderGUI does NOT extend ilFormPropertyGUI ?! if (method_exists($item, "getContentOutsideFormTag")) { $outside = $item->getContentOutsideFormTag(); if ($outside) { $html .= $outside; } } } return $html; }