4 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
5 include_once(
"./Services/Form/classes/class.ilSubEnabledFormPropertyGUI.php");
41 $this->validationRegexp =
"";
51 $this->value = $a_value;
71 $this->validationFailureMessage = $a_msg;
86 $this->validationRegexp = $a_value;
106 $this->maxlength = $a_maxlength;
126 $this->size = $a_size;
136 $this->style_css = $a_style;
176 $this->suffix = $a_value;
198 $this->input_type = $a_type;
208 return $this->input_type;
218 $this->submit_form_on_enter = $a_val;
243 $this->
setAlert($lng->txt(
"msg_input_is_required"));
254 $lng->txt(
'msg_wrong_format')
278 $this->yui_dataSource = $href;
305 $this->yui_dataSchema = $ds;
324 $this->yui_formatCallback = $callback;
337 $this->yui_delimiterarray = $ar;
354 $tpl =
new ilTemplate(
"tpl.prop_textinput.html",
true,
true,
"Services/Form");
357 $tpl->setCurrentBlock(
"prop_text_propval");
359 $tpl->parseCurrentBlock();
363 $tpl->setCurrentBlock(
"stylecss");
365 $tpl->parseCurrentBlock();
369 $tpl->touchBlock(
"submit_form_on_enter");
375 $tpl->setVariable(
'PROP_INPUT_TYPE',
'password');
378 $tpl->setVariable(
'PROP_INPUT_TYPE',
'hidden');
382 $tpl->setVariable(
'PROP_INPUT_TYPE',
'text');
392 $tpl->setVariable(
"DISABLED",
393 " disabled=\"disabled\"");
394 $tpl->setVariable(
"HIDDEN_INPUT",
405 include_once
"./Services/YUI/classes/class.ilYuiUtil.php";
406 include_once
"./Services/JSON/classes/class.ilJsonUtil.php";
408 $tpl->setVariable(
'ID_AUTOCOMPLETE', $this->
getFieldId() .
"_autocomplete");
422 if ($a_mode ==
"toolbar")
427 $tpl->setVariable(
"STYLE_PAR",
'display: -moz-inline-stack; display:inline-block; zoom: 1; *display:inline; z-index:3000;');
428 $tpl->setVariable(
"AC_STYLE",
'style="position:absolute; width:400px;"');
432 $tpl->setVariable(
"STYLE_PAR",
'z-index:3000;');
447 $a_tpl->setCurrentBlock(
"prop_generic");
448 $a_tpl->setVariable(
"PROP_GENERIC", $html);
449 $a_tpl->parseCurrentBlock();
466 $html = $this->
render(
"toolbar");