50 $this->heading = $a_val;
58 public function setBody(
string $a_val): void
80 $this->panel_style = $a_val;
90 $this->heading_style = $a_val;
100 $this->footer_style = $a_val;
110 $tpl =
new ilTemplate(
"tpl.panel.html",
true,
true,
"Services/UIComponent/Panel");
112 $head_outer_div_style =
"";
114 $tpl->setCurrentBlock(
"heading");
119 $tpl->setVariable(
"HEAD_DIV_STYLE",
"panel-heading ilBlockHeader");
120 $tpl->setVariable(
"HEAD_H3_STYLE",
"ilBlockHeader");
121 $head_outer_div_style =
"il_Block";
125 $tpl->setVariable(
"HEAD_DIV_STYLE",
"panel-heading ilHeader");
126 $tpl->setVariable(
"HEAD_H3_STYLE",
"ilHeader");
130 $tpl->parseCurrentBlock();
136 $tpl->setCurrentBlock(
"footer");
141 $tpl->setVariable(
"FOOT_DIV_STYLE",
"panel-footer ilBlockInfo");
145 $tpl->parseCurrentBlock();
150 $tpl->setVariable(
"PANEL_STYLE",
"panel panel-default " . $head_outer_div_style);
154 $tpl->setVariable(
"PANEL_STYLE",
"panel panel-primary " . $head_outer_div_style);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const PANEL_STYLE_SECONDARY
const HEADING_STYLE_SUBHEADING
setFooterStyle(int $a_val)
setPanelStyle(int $a_val)
setHeading(string $a_val)
const HEADING_STYLE_BLOCK
setHeadingStyle(int $a_val)
const PANEL_STYLE_PRIMARY
special template class to simplify handling of ITX/PEAR
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl