/** * 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; }