65 $this->type = (int)$a_value;
106 $this->caption = $a_value;
107 $this->caption_is_lng_id = (bool)$a_is_lng_id;
122 if($this->caption_is_lng_id &&
138 $this->primary = (bool)$a_value;
158 $this->omit_prevent_double_submission = (bool)$a_value;
178 $this->onclick = trim($a_value);
198 $this->acc_key = trim($a_value);
218 $this->disabled = (bool)$a_value;
238 $this->css[] = $a_value;
267 $css[] =
"btn-primary";
271 $css[] =
"omitPreventDoubleSubmission";
274 return implode(
" ",
$css);
286 foreach($a_attr as
$id => $value)
290 $res[] = strtolower(trim(
$id)).
'="'.$value.
'"';
296 return " ".implode(
" ",
$res);
309 $attr[
"id"] = $this->
getId();
315 include_once(
"./Services/Accessibility/classes/class.ilAccessKey.php");
321 $attr[
"disabled"] =
"disabled";
324 if(
sizeof($a_additional_attr))
326 $attr = array_merge($attr, $a_additional_attr);
346 abstract public function render();