54 $this->heading = $a_val;
94 $this->footer = $a_val;
114 $this->panel_style = $a_val;
134 $this->heading_style = $a_val;
154 $this->footer_style = $a_val;
174 $tpl =
new ilTemplate(
"tpl.panel.html",
true,
true,
"Services/UIComponent/Panel");
176 $head_outer_div_style =
"";
179 $tpl->setCurrentBlock(
"heading");
185 $tpl->setVariable(
"HEAD_DIV_STYLE",
"panel-heading ilBlockHeader");
186 $tpl->setVariable(
"HEAD_H3_STYLE",
"ilBlockHeader");
187 $head_outer_div_style =
"il_Block";
191 $tpl->setVariable(
"HEAD_DIV_STYLE",
"panel-heading ilHeader");
192 $tpl->setVariable(
"HEAD_H3_STYLE",
"ilHeader");
196 $tpl->parseCurrentBlock();
203 $tpl->setCurrentBlock(
"footer");
209 $tpl->setVariable(
"FOOT_DIV_STYLE",
"panel-footer ilBlockInfo");
213 $tpl->parseCurrentBlock();
219 $tpl->setVariable(
"PANEL_STYLE",
"panel panel-default ".$head_outer_div_style);
223 $tpl->setVariable(
"PANEL_STYLE",
"panel panel-primary ".$head_outer_div_style);
getPanelStyle()
Get panel style.
getHeadingStyle()
Get heading style.
const PANEL_STYLE_SECONDARY
const HEADING_STYLE_SUBHEADING
setHeading($a_val)
Set heading.
setFooterStyle($a_val)
Set footer style.
const HEADING_STYLE_BLOCK
__construct()
Constructor.
getFooterStyle()
Get footer style.
setPanelStyle($a_val)
Set panel style.
static getInstance()
Get instance.
setHeadingStyle($a_val)
Set heading style.
setFooter($a_val)
Set footer.
const PANEL_STYLE_PRIMARY
special template class to simplify handling of ITX/PEAR