4 include_once(
"./Services/Form/classes/class.ilTextInputGUI.php");
21 function __construct($a_title, $a_postvar, $a_class, $a_autocomplete_cmd)
25 if(is_object($a_class))
27 $a_class = get_class($a_class);
29 if(!is_array($a_class))
31 $a_class = strtolower($a_class);
36 $tpl->addJavaScript(
"./Services/User/js/ilUserAutoComplete.js");
40 "resultsList" =>
'response.results',
41 "fields" => array(
'login',
'firstname',
'lastname',
'email')
44 $this->
setDataSource($ilCtrl->getLinkTargetByClass($a_class, $a_autocomplete_cmd,
'',
true));
55 $fields = $fields[
'fields'];
57 $schema_fields[] = $a_field;
58 foreach((array) $fields as $field)
60 if($field != $a_field)
62 $schema_fields[] = $field;
67 'resultsList' =>
'response.results',
68 'fields' => $schema_fields