4 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
5 include_once(
"./Services/Form/classes/class.ilSubEnabledFormPropertyGUI.php");
6 include_once
'Services/UIComponent/Toolbar/interfaces/interface.ilToolbarItem.php';
43 $this->validationRegexp =
"";
53 $this->value = $a_value;
73 $this->validationFailureMessage = $a_msg;
88 $this->validationRegexp = $a_value;
108 $this->maxlength = $a_maxlength;
128 $this->size = $a_size;
138 $this->style_css = $a_style;
153 $this->css_class = $a_class;
189 $this->suffix = $a_value;
211 $this->input_type = $a_type;
221 return $this->input_type;
231 $this->submit_form_on_enter = $a_val;
256 $this->
setAlert($lng->txt(
"msg_input_is_required"));
267 $lng->txt(
'msg_wrong_format')
291 $this->yui_dataSource = $href;
318 $this->yui_dataSchema = $ds;
337 $this->yui_formatCallback = $callback;
350 $this->yui_delimiterarray = $ar;
367 $tpl =
new ilTemplate(
"tpl.prop_textinput.html",
true,
true,
"Services/Form");
370 $tpl->setCurrentBlock(
"prop_text_propval");
372 $tpl->parseCurrentBlock();
376 $tpl->setCurrentBlock(
"stylecss");
378 $tpl->parseCurrentBlock();
382 $tpl->setCurrentBlock(
"classcss");
384 $tpl->parseCurrentBlock();
388 $tpl->touchBlock(
"submit_form_on_enter");
394 $tpl->setVariable(
'PROP_INPUT_TYPE',
'password');
397 $tpl->setVariable(
'PROP_INPUT_TYPE',
'hidden');
401 $tpl->setVariable(
'PROP_INPUT_TYPE',
'text');
411 $tpl->setVariable(
"DISABLED",
412 " disabled=\"disabled\"");
413 $tpl->setVariable(
"HIDDEN_INPUT",
424 include_once
"./Services/YUI/classes/class.ilYuiUtil.php";
425 include_once
"./Services/JSON/classes/class.ilJsonUtil.php";
427 $tpl->setVariable(
'ID_AUTOCOMPLETE', $this->
getFieldId() .
"_autocomplete");
441 if ($a_mode ==
"toolbar")
446 $tpl->setVariable(
"STYLE_PAR",
'display: -moz-inline-stack; display:inline-block; zoom: 1; *display:inline;');
449 $tpl->setVariable(
"AC_STYLE",
'style="position:absolute; width:400px;"');
454 $tpl->setVariable(
"STYLE_PAR",
'');
469 $a_tpl->setCurrentBlock(
"prop_generic");
470 $a_tpl->setVariable(
"PROP_GENERIC", $html);
471 $a_tpl->parseCurrentBlock();
488 $html = $this->
render(
"toolbar");