45 $next_class = $ilCtrl->getNextClass($this);
46 $cmd = $ilCtrl->getCmd();
58 $this->type = $a_type;
78 $this->title = $a_title;
98 $this->postvar = $a_postvar;
118 $id = str_replace(
"[",
"__", $this->
getPostVar());
119 $id = str_replace(
"]",
"__", $id);
131 $this->info = $a_info;
151 $this->alert = $a_alert;
171 $this->required = $a_required;
191 $this->disabled = $a_disabled;
201 return $this->disabled;
241 $this->parent_gui = $a_val;
251 return $this->parent_gui;
279 $this->hidden_title = $a_val;
312 return serialize($this->getValue());
320 $data = unserialize($a_data);
324 $this->setValue(
$data);
328 $this->setValue(
false);
338 if (!is_object($parent))
340 die(
"You must set parent for ".get_class($this).
" to use serialize feature.");
352 if (!is_object($parent))
354 die(
"You must set parent for ".get_class($this).
" to use serialize feature.");
365 if (!is_object($parent))
367 die(
"You must set parent for ".get_class($this).
" to use serialize feature.");
387 trigger_error(
"not supported for form property type", E_USER_WARNING);
407 $this->multi_values = array_unique($a_values);
432 $html =
'<input align="absmiddle" type="image" id="ilMultiAdd~'.$id.
'~0"'.
433 ' src="'.ilUtil::getImagePath(
'edit_add.png').
'" alt="'.
434 $lng->txt(
"add").
'" title="'.$lng->txt(
"add").
'" onclick="javascript: return false;" />'.
435 '<input align="absmiddle" type="image" id="ilMultiRmv~'.$id.
'~0"'.
436 ' src="'.ilUtil::getImagePath(
'edit_remove.png').
'" alt="'.$lng->txt(
"remove").
437 '" title="'.$lng->txt(
"remove").
'" onclick="javascript: return false;" />';
441 $html .=
' <input align="absmiddle" type="image" id="ilMultiDwn~'.$id.
'~0"'.
442 ' src="'.ilUtil::getImagePath(
'icon_down_s.png').
'" alt="'.
443 $lng->txt(
"down").
'" title="'.$lng->txt(
"down").
'" onclick="javascript: return false;" />'.
444 '<input align="absmiddle" type="image" id="ilMultiUp~'.$id.
'~0"'.
445 ' src="'.ilUtil::getImagePath(
'icon_up_s.png').
'" alt="'.$lng->txt(
"up").
446 '" title="'.$lng->txt(
"up").
'" onclick="javascript: return false;" />';