24 include_once
'Services/UIComponent/Toolbar/interfaces/interface.ilToolbarItem.php';
48 parent::__construct($a_title, $a_postvar);
59 $this->value = $a_value;
79 $this->checked = $a_checked;
99 $this->optiontitle = $a_optiontitle;
122 $item->setValueByArray($a_values);
133 $this->additional_attributes = $a_attrs;
184 $tpl =
new ilTemplate(
"tpl.prop_checkbox.html",
true,
true,
"Services/Form");
196 $tpl->setVariable(
"PROPERTY_CHECKED",
197 'checked="checked"');
201 $tpl->setVariable(
"DISABLED",
202 'disabled="disabled"');
205 if ($a_mode ==
"toolbar")
210 $tpl->setVariable(
"STYLE_PAR",
'display: -moz-inline-stack; display:inline-block; zoom: 1; *display:inline;');
225 $a_tpl->setCurrentBlock(
"prop_generic");
226 $a_tpl->setVariable(
"PROP_GENERIC",
$html);
227 $a_tpl->parseCurrentBlock();
252 $data = unserialize($a_data);
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled