36 include_once
'Services/Search/classes/class.ilSearchResult.php';
37 include_once
'Services/Search/classes/class.ilSearchSettings.php';
38 include_once
'./Services/User/classes/class.ilUserAccountSettings.php';
39 include_once
'Services/Search/classes/class.ilQueryParser.php';
40 include_once(
"./Services/User/classes/class.ilUserAutoComplete.php");
102 $this->lng->loadLanguageModule(
'search');
103 $this->lng->loadLanguageModule(
'crs');
105 $this->
setTitle($this->lng->txt(
'add_members_header'));
111 $this->result_obj->setMaxHits(1000000);
135 $this->search_title = $a_title;
153 $this->searchable_check = $a_status;
199 $ilToolbar = $DIC[
'ilToolbar'];
202 $tree = $DIC[
'tree'];
205 $toolbar = $ilToolbar;
209 if (!isset($a_options[
'auto_complete_name'])) {
210 $a_options[
'auto_complete_name'] =
$lng->txt(
'obj_user');
212 if (!isset($a_options[
'auto_complete_size'])) {
213 $a_options[
'auto_complete_size'] = 15;
215 if (!isset($a_options[
'submit_name'])) {
216 $a_options[
'submit_name'] =
$lng->txt(
'btn_add');
218 if (!isset($a_options[
'user_type_default'])) {
219 $a_options[
'user_type_default'] = null;
222 $ajax_url =
$ilCtrl->getLinkTargetByClass(
223 array(get_class($parent_object),
'ilRepositorySearchGUI'),
224 'doUserAutoComplete',
230 include_once(
"./Services/Form/classes/class.ilTextInputGUI.php");
231 $ul =
new ilTextInputGUI($a_options[
'auto_complete_name'],
'user_login');
232 $ul->setDataSource($ajax_url);
233 $ul->setSize($a_options[
'auto_complete_size']);
235 $toolbar->addInputItem($ul,
true);
237 $toolbar->addStickyItem($ul,
true);
240 if (count((array) $a_options[
'user_type'])) {
241 include_once
'./Services/Form/classes/class.ilSelectInputGUI.php';
243 $si->setOptions($a_options[
'user_type']);
244 $si->setValue($a_options[
'user_type_default']);
246 $toolbar->addInputItem(
$si);
248 $toolbar->addStickyItem(
$si);
252 include_once
'./Services/User/classes/class.ilUserClipboard.php';
254 if ($clip->hasContent()) {
255 include_once
'./Services/UIComponent/SplitButton/classes/class.ilSplitButtonGUI.php';
258 include_once
'./Services/UIComponent/Button/classes/class.ilLinkButton.php';
260 $add_button->setCaption($a_options[
'submit_name'],
false);
261 $add_button->setCommand(
'addUserFromAutoComplete');
263 $action_button->setDefaultButton($add_button);
265 include_once
'./Services/UIComponent/Button/classes/class.ilLinkButton.php';
267 $clip_button->addCSSClass(
'btn btndefault');
268 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'user');
269 $clip_button->setCaption(
$GLOBALS[
'DIC']->
language()->txt(
'clipboard_add_from_btn'),
false);
270 $clip_button->setCommand(
'showClipboard');
274 $toolbar->addButtonInstance($action_button);
276 include_once
"Services/UIComponent/Button/classes/class.ilSubmitButton.php";
278 $button->setCaption($a_options[
'submit_name'],
false);
279 $button->setCommand(
'addUserFromAutoComplete');
281 $toolbar->addButtonInstance($button);
283 $toolbar->addStickyItem($button);
287 if ((
bool) $a_options[
'add_search'] ||
288 is_numeric($a_options[
'add_from_container'])) {
289 $lng->loadLanguageModule(
"search");
291 $toolbar->addSeparator();
293 if ((
bool) $a_options[
'add_search']) {
294 include_once
"Services/UIComponent/Button/classes/class.ilLinkButton.php";
296 $button->setCaption(
"search_users");
297 $button->setUrl(
$ilCtrl->getLinkTargetByClass(
'ilRepositorySearchGUI',
''));
298 $toolbar->addButtonInstance($button);
301 if (is_numeric($a_options[
'add_from_container'])) {
302 $parent_ref_id = (int) $a_options[
'add_from_container'];
303 $parent_container_ref_id =
$tree->checkForParentType($parent_ref_id,
"grp");
304 $parent_container_type =
"grp";
305 if (!$parent_container_ref_id) {
306 $parent_container_ref_id =
$tree->checkForParentType($parent_ref_id,
"crs");
307 $parent_container_type =
"crs";
309 if ($parent_container_ref_id) {
310 if ((
bool) $a_options[
'add_search']) {
311 $toolbar->addSpacer();
316 include_once
"Services/UIComponent/Button/classes/class.ilLinkButton.php";
318 $button->setCaption(
"search_add_members_from_container_" . $parent_container_type);
319 $button->setUrl(
$ilCtrl->getLinkTargetByClass(array(get_class($parent_object),
'ilRepositorySearchGUI'),
'listUsers'));
320 $toolbar->addButtonInstance($button);
325 $toolbar->setFormAction(
328 get_class($parent_object),
329 'ilRepositorySearchGUI')
342 if (
$GLOBALS[
'DIC'][
'ilUser']->getId() == ANONYMOUS_USER_ID) {
343 include_once
'./Services/JSON/classes/class.ilJsonUtil.php';
349 if (!isset(
$_GET[
'autoCompleteField'])) {
350 $a_fields = array(
'login',
'firstname',
'lastname',
'email');
351 $result_field =
'login';
353 $a_fields = array((
string)
$_GET[
'autoCompleteField']);
354 $result_field = (string) $_GET[
'autoCompleteField'];
357 include_once
'./Services/User/classes/class.ilUserAutoComplete.php';
361 if (($_REQUEST[
'fetchall'])) {
365 $auto->setMoreLinkAvailable(
true);
366 $auto->setSearchFields($a_fields);
367 $auto->setResultField($result_field);
368 $auto->enableFieldSearchableCheck(
true);
370 if (is_callable($this->user_filter)) {
371 $auto->addUserAccessFilterCallable($this->user_filter);
374 echo $auto->getList($_REQUEST[
'term']);
385 $_SESSION[
'search'][
'string'] = $this->
string = $a_str;
389 return $this->string;
400 $rbacsystem = $DIC[
'rbacsystem'];
402 $next_class = $this->ctrl->getNextClass($this);
403 $cmd = $this->ctrl->getCmd();
405 $this->ctrl->setReturn($this,
'');
407 switch ($next_class) {
428 $this->ctrl->returnToParent($this);
443 $class = $this->role_callback[
'class'];
444 $method = $this->role_callback[
'method'];
448 $obj_ids = (array)
$_POST[
'obj'];
450 foreach ($obj_ids as $id) {
452 if ($obj_type ==
"crs" || $obj_type ==
"grp") {
454 $ref_id = end($refs);
456 $role_ids[] = $mem_role;
461 $class->$method((array) $role_ids);
468 $class = $this->callback[
'class'];
469 $method = $this->callback[
'method'];
473 $class->$method((array)
$_POST[
'user']);
483 $class = $this->callback[
'class'];
484 $method = $this->callback[
'method'];
486 $users = explode(
',',
$_POST[
'user_login']);
488 foreach ($users as $user) {
491 $user_ids[] = $user_id;
495 $user_type = isset($_REQUEST[
'user_type']) ? $_REQUEST[
'user_type'] : 0;
497 if (!$class->$method($user_ids, $user_type)) {
498 $GLOBALS[
'DIC'][
'ilCtrl']->returnToParent($this);
504 $GLOBALS[
'DIC'][
'ilCtrl']->setParameter($this,
'user_type', (
int) $_REQUEST[
'user_type']);
508 $GLOBALS[
'DIC'][
'ilTabs']->clearTargets();
509 $GLOBALS[
'DIC'][
'ilTabs']->setBackTarget(
510 $GLOBALS[
'DIC'][
'lng']->txt(
'back'),
511 $GLOBALS[
'DIC'][
'ilCtrl']->getParentReturn($this)
514 include_once
'./Services/User/classes/class.ilUserClipboardTableGUI.php';
516 $clip->setFormAction(
$GLOBALS[
'DIC'][
'ilCtrl']->getFormAction($this));
520 $GLOBALS[
'DIC'][
'tpl']->setContent($clip->getHTML());
528 $GLOBALS[
'DIC'][
'ilCtrl']->setParameter($this,
'user_type', (
int) $_REQUEST[
'user_type']);
529 $users = (array)
$_POST[
'uids'];
530 if (!count($users)) {
532 $GLOBALS[
'DIC'][
'ilCtrl']->redirect($this,
'showClipboard');
534 $class = $this->callback[
'class'];
535 $method = $this->callback[
'method'];
536 $user_type = isset($_REQUEST[
'user_type']) ? $_REQUEST[
'user_type'] : 0;
538 if (!$class->$method($users, $user_type)) {
539 $GLOBALS[
'DIC'][
'ilCtrl']->returnToParent($this);
548 $GLOBALS[
'DIC'][
'ilCtrl']->setParameter($this,
'user_type', (
int) $_REQUEST[
'user_type']);
549 $users = (array)
$_POST[
'uids'];
550 if (!count($users)) {
552 $GLOBALS[
'DIC'][
'ilCtrl']->redirect($this,
'showClipboard');
555 include_once
'./Services/User/classes/class.ilUserClipboard.php';
557 $clip->delete($users);
560 ilUtil::sendSuccess($this->lng->txt(
'settings_saved'),
true);
561 $this->ctrl->redirect($this,
'showClipboard');
569 include_once
'./Services/User/classes/class.ilUserClipboard.php';
574 ilUtil::sendSuccess($this->lng->txt(
'settings_saved'),
true);
575 $this->ctrl->returnToParent($this);
583 $class = $this->callback[
'class'];
584 $method = $this->callback[
'method'];
587 if (!$class->$method((array)
$_POST[
'user'], $_POST[
'selectedCommand'])) {
592 public function setCallback(&$class, $method, $a_add_options = array())
594 $this->callback = array(
'class' => $class,
'method' => $method);
595 $this->add_options = $a_add_options ? $a_add_options : array();
600 $this->role_callback = array(
'class' => $class,
'method' => $method);
601 $this->add_options = $a_add_options ? $a_add_options : array();
619 $this->tpl->setContent($this->form->getHTML());
627 $selected = (int) $_REQUEST[
'selected_id'];
629 #include_once './Services/Object/classes/class.ilObjectFactory.php'; 630 #$factory = new ilObjectFactory(); 631 #$user = $factory->getInstanceByObjId($selected); 633 #$this->initFormSearch($user); 634 #$this->tpl->setContent($this->form->getHTML()); 636 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.rep_search_result.html',
'Services/Search');
647 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
650 $this->form->setFormAction($this->ctrl->getFormAction($this,
'showSearch'));
651 $this->form->setTitle($this->
getTitle());
652 $this->form->addCommandButton(
'performSearch', $this->lng->txt(
'search'));
653 $this->form->addCommandButton(
'cancel', $this->lng->txt(
'cancel'));
657 $kind->
setValue($this->search_type);
658 $this->form->addItem($kind);
661 $users =
new ilRadioOption($this->lng->txt(
'search_for_users'),
'usr');
664 include_once
'Services/Search/classes/class.ilUserSearchOptions.php';
666 switch ($info[
'type']) {
670 $sel =
new ilSelectInputGUI($info[
'lang'],
"rep_query[usr][" . $info[
'db'] .
"]");
671 $sel->setOptions($info[
'values']);
672 $users->addSubItem($sel);
679 if (isset($info[
'autoComplete']) and $info[
'autoComplete']) {
680 $ilCtrl->setParameterByClass(get_class($this),
'autoCompleteField', $info[
'db']);
681 $ul =
new ilTextInputGUI($info[
'lang'],
"rep_query[usr][" . $info[
'db'] .
"]");
682 $ul->setDataSourceSubmitOnSelection(
true);
683 $ul->setDataSourceSubmitUrl(
684 $this->ctrl->getLinkTarget(
686 'showSearchSelected',
692 $ul->setDataSource(
$ilCtrl->getLinkTarget(
694 "doUserAutoComplete",
699 $ul->setMaxLength(120);
702 switch ($info[
'db']) {
704 $ul->setValue($user->getFirstname());
707 $ul->setValue($user->getLastname());
710 $ul->setValue($user->getLogin());
717 $users->addSubItem($ul);
721 $txt->setMaxLength(120);
722 $users->addSubItem(
$txt);
727 $kind->addOption($users);
732 $roles =
new ilRadioOption($this->lng->txt(
'search_for_role_members'),
'role');
733 $role =
new ilTextInputGUI($this->lng->txt(
'search_role_title'),
'rep_query[role][title]');
735 $role->setMaxLength(120);
737 $kind->addOption($roles);
740 $groups =
new ilRadioOption($this->lng->txt(
'search_for_crs_members'),
'crs');
741 $group =
new ilTextInputGUI($this->lng->txt(
'search_crs_title'),
'rep_query[crs][title]');
743 $group->setMaxLength(120);
745 $kind->addOption($groups);
748 $groups =
new ilRadioOption($this->lng->txt(
'search_for_grp_members'),
'grp');
749 $group =
new ilTextInputGUI($this->lng->txt(
'search_grp_title'),
'rep_query[grp][title]');
751 $group->setMaxLength(120);
753 $kind->addOption($groups);
757 $orgus =
new ilRadioOption($this->lng->txt(
'search_for_orgu_members'),
'orgu');
759 $orgu->getExplorerGUI()->setSelectableTypes([
"orgu"]);
760 $orgu->getExplorerGUI()->setTypeWhiteList([
"root",
"orgu"]);
762 $orgu->getExplorerGUI()->setAjax(
false);
764 $kind->addOption($orgus);
791 $found_query =
false;
792 foreach ((array)
$_POST[
'rep_query'][
$_POST[
'search_for']] as $field => $value) {
798 if (array_key_exists(
'rep_query_orgu',
$_POST) && count(
$_POST[
'rep_query_orgu']) > 0) {
808 if (
$_POST[
'cmd'][
'performSearch']) {
812 switch ($this->search_type) {
829 $_POST[
'obj'] = array_map(
840 $this->result_obj->setRequiredPermission(
'read');
841 $this->result_obj->addObserver($this,
'searchResultFilterListener');
845 if ($this->search_type ==
'usr') {
847 if (is_callable($this->user_filter,
true, $callable_name)) {
848 $result_ids = call_user_func_array($this->user_filter, [$this->result_obj->getResultIds()]);
850 $result_ids = $this->result_obj->getResultIds();
853 include_once
'./Services/User/classes/class.ilUserFilter.php';
854 $this->search_results = array_intersect(
859 $this->search_results = array();
860 foreach ((array) $this->result_obj->getResults() as
$res) {
861 $this->search_results[] =
$res[
'obj_id'];
865 if (!count($this->search_results)) {
871 if ($this->result_obj->isLimitReached()) {
872 $message = sprintf($this->lng->txt(
'search_limit_reached'), $this->
settings->getMaxHits());
883 include_once
'Services/Search/classes/class.ilUserSearchOptions.php';
884 include_once
'Services/Search/classes/class.ilObjectSearchFactory.php';
891 if (!$query_string) {
899 switch ($info[
'type']) {
907 $udf_search->setFields(array(
$name));
908 $result_obj = $udf_search->performSearch();
916 if ($info[
'db'] ==
'org_units') {
918 $result_obj = $user_search->performSearch();
929 $user_search->setFields(array(
$name));
930 $result_obj = $user_search->performSearch();
938 $multi_search->setFields(array(
$name));
939 $result_obj = $multi_search->performSearch();
953 include_once
'Services/Search/classes/class.ilObjectSearchFactory.php';
955 $query_string =
$_SESSION[
'rep_query'][
'grp'][
'title'];
961 include_once
'Services/Search/classes/Like/class.ilLikeObjectSearch.php';
963 $object_search->setFilter(array(
'grp'));
975 include_once
'Services/Search/classes/class.ilObjectSearchFactory.php';
977 $query_string =
$_SESSION[
'rep_query'][
'crs'][
'title'];
983 include_once
'Services/Search/classes/Like/class.ilLikeObjectSearch.php';
985 $object_search->setFilter(array(
'crs'));
997 include_once
'Services/Search/classes/class.ilObjectSearchFactory.php';
999 $query_string =
$_SESSION[
'rep_query'][
'role'][
'title'];
1006 include_once
'Services/Search/classes/Like/class.ilLikeObjectSearch.php';
1008 $object_search->setFilter(array(
'role'));
1023 $query_parser->setMinWordLength(1);
1026 if (!(
bool) $a_ignore_length) {
1027 $query_parser->setGlobalMinLength(3);
1030 $query_parser->parse();
1032 if (!$query_parser->validate()) {
1033 return $query_parser->getMessage();
1035 return $query_parser;
1041 if (is_array(
$_POST[
'rep_query'])) {
1050 if (
$_POST[
'search_for']) {
1059 $this->search_type =
$_SESSION[
'rep_search_type'];
1060 #echo $this->search_type; 1071 foreach ($this->search_results as
$result) {
1074 if (!
$_SESSION[
'rep_search'][$this->search_type]) {
1086 return $_SESSION[
'rep_search'][
'usr'] = $a_usr_ids;
1088 $_SESSION[
'rep_search'][
'usr'] = array();
1089 foreach ($a_usr_ids as $usr_id) {
1090 $_SESSION[
'rep_search'][
'usr'][] = $usr_id;
1092 return $_SESSION[
'rep_search'][
'usr'] ? array_unique(
$_SESSION[
'rep_search'][
'usr']) : array();
1097 if ($this->stored ==
false) {
1098 $this->result_obj->mergeEntries($new_res);
1099 $this->stored =
true;
1102 $this->result_obj->intersectEntries($new_res);
1113 include_once
'./Services/UIComponent/Toolbar/classes/class.ilToolbarGUI.php';
1115 $toolbar->addButton(
1116 $this->lng->txt(
'search_new'),
1117 $this->ctrl->getLinkTarget($this,
'showSearch')
1119 $this->tpl->setVariable(
'ACTION_BUTTONS', $toolbar->getHTML());
1125 $f_result = array();
1127 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.rep_search_result.html',
'Services/Search');
1130 switch ($this->search_type) {
1156 $is_in_admin = ($_REQUEST[
'baseClass'] ==
'ilAdministrationGUI');
1159 $_SESSION[
"usr_search_link"] = $this->ctrl->getLinkTarget($this,
'show');
1162 include_once
'./Services/Search/classes/class.ilRepositoryUserResultTableGUI.php';
1165 if (count($this->add_options)) {
1166 $table->addMultiItemSelectionButton(
1169 'handleMultiCommand',
1170 $this->lng->txt(
'execute')
1173 $table->addMultiCommand(
'addUser', $this->lng->txt(
'btn_add'));
1176 $table->parseUserIds($a_usr_ids);
1178 $this->tpl->setVariable(
'RES_TABLE', $table->getHTML());
1188 include_once
'./Services/Search/classes/class.ilRepositoryObjectResultTableGUI.php';
1191 $table->parseObjectIds($a_obj_ids);
1193 $this->tpl->setVariable(
'RES_TABLE', $table->getHTML());
1203 include_once
'./Services/Search/classes/class.ilRepositoryObjectResultTableGUI.php';
1206 $table->parseObjectIds($a_obj_ids);
1208 $this->tpl->setVariable(
'RES_TABLE', $table->getHTML());
1218 include_once
'./Services/Search/classes/class.ilRepositoryObjectResultTableGUI.php';
1221 $table->parseObjectIds($a_obj_ids);
1223 $this->tpl->setVariable(
'RES_TABLE', $table->getHTML());
1234 if (
$_GET[
"list_obj"] !=
"" && !is_array(
$_POST[
'obj'])) {
1247 foreach (
$_POST[
'obj'] as $obj_id) {
1253 include_once
'./Services/Membership/classes/class.ilParticipants.php';
1256 if (is_callable($this->user_filter)) {
1257 $part = call_user_func_array(
1267 $members = array_merge((array) $members, $part);
1274 $rbacreview = $DIC[
'rbacreview'];
1277 if (is_callable($this->user_filter)) {
1278 $assigned = call_user_func_array(
1281 $rbacreview->assignedUsers($obj_id)
1285 $assigned = $rbacreview->assignedUsers($obj_id);
1293 ->getUserIdsOfOrgUnit(array_shift($ref_ids));
1294 if (is_callable($this->user_filter)) {
1295 $assigned = call_user_func_array(
1301 $members = array_merge(
1309 $members = array_unique((array) $members);
1312 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.rep_search_result.html',
'Services/Search');
1340 if ($a_data[
'type'] ==
'usr') {
1341 if ($a_data[
'obj_id'] == ANONYMOUS_USER_ID) {
1355 $this->object_selection = (bool) $a_value;
1365 if (
$_GET[
"list_obj"] !=
"" && !is_array(
$_POST[
'obj'])) {
1374 $this->ctrl->setParameter($this->callback[
"class"],
"obj", implode(
";",
$_POST[
"obj"]));
1375 $this->ctrl->redirect($this->callback[
"class"], $this->callback[
"method"]);
1385 $this->user_limitations = (bool) $a_limitations;
setCallback(&$class, $method, $a_add_options=array())
setTitle($a_title)
Set form title.
selectObject()
Return selection of course/group/roles to calling script.
This class represents an option in a radio group.
showSearchGroupTable($a_obj_ids)
TableGUI class user search results.
enableSearchableCheck($a_status)
En/disable the validation of the searchable flag.
addUserFromAutoComplete()
Add user from auto complete input.
static getInstance($a_usr_id)
Get singelton instance.
isSearchableCheckEnabled()
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
executeCommand()
Control public.
showSearchSelected()
submit from autocomplete
const PRIVACY_MODE_RESPECT_USER_SETTING
__performGroupSearch()
Search groups.
addNewSearchButton()
Add new search button.
__appendToStoredResults($a_usr_ids)
showSearchRoleTable($a_obj_ids)
Show usr table.
static _lookupId($a_user_str)
Lookup id by login.
static getDefaultMemberRole($a_ref_id)
const FIELD_TYPE_UDF_TEXT
__construct()
Constructor public.
static getInstance()
Singelton get instance.
static getUserMultiFieldSearchInstance($query_parser)
setUserLimitations($a_limitations)
allow user limitations like inactive and access limitations
__performRoleSearch()
Search roles.
static hasParticipantListAccess($a_obj_id, $a_usr_id=null)
Check if (current) user has access to the participant list.
searchResultFilterListener($a_ref_id, $a_data)
Listener called from ilSearchResult Id is obj_id for role, usr Id is ref_id for crs grp...
static _getAllReferences($a_id)
get all reference ids of object
Auto completion class for user lists.
addFromClipboard()
add users from clipboard
__performCourseSearch()
Search courses.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
Show administrate clipboard content.
initFormSearch(ilObjUser $user=null)
static _getUserSearchInstance($query_parser)
get reference of ilLikeUserSearch
setPermissionQueryCallback($class, $method)
Set callback method for user permission access queries.
static encode($mixed, $suppress_native=false)
showSearchCourseTable($a_obj_ids)
foreach($_POST as $key=> $value) $res
__storeEntries(&$new_res)
doUserAutoComplete()
Do auto completion.
addSubItem($a_item)
Add Subitem.
getUserLimitations()
allow user limitations like inactive and access limitations
static _lookupObjId($a_id)
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
getTitle()
Get search form title.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
const FIELD_TYPE_UDF_SELECT
Class ilUserSearchOptions.
listUsers()
List users of course/group/roles.
static _lookupType($a_id, $a_reference=false)
lookup object type
allowObjectSelection($a_value=false)
Toggle object selection status.
removeFromClipboard()
Remove from clipboard.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
storedUserList()
Called from table sort.
TableGUI class object (course,group and role) search results Used in member search.
addUserAccessFilterCallable(callable $user_filter)
Closure for filtering users e.g $rep_search_gui->addUserAccessFilterCallable(function($user_ids) use(...
setString($a_str)
Set/get search string public.
handleMultiCommand()
Handle multi command.
& __parseQueryString($a_string, $a_combination_or=true, $a_ignore_length=false)
parse query string, using query parser instance
static getLogger($a_component_id)
Get component logger.
static fillAutoCompleteToolbar($parent_object, ilToolbarGUI $toolbar=null, $a_options=array(), $a_sticky=false)
fill toolbar with
const PRIVACY_MODE_IGNORE_USER_SETTING
setRoleCallback(&$class, $method, $a_add_options=array())
showSearchUserTable($a_usr_ids, $a_parent_cmd)
Show usr table.
emptyClipboard()
Remove from clipboard.
static _isEnabled($a_key)
static getInstanceByObjId($a_obj_id)
Get instance by obj type.
static getUserOrgUnitAssignmentInstance($query_parser)
get orgunit search instance
performSearch()
Perform a search.
static _getUserDefinedFieldSearchInstance($query_parser)
get reference of ilLikeUserDefinedFieldSearch
static _getSearchableFieldsInfo($a_admin=false)
setPrivacyMode($privacy_mode)