|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for ilRepositorySearchGUI:
Collaboration diagram for ilRepositorySearchGUI:Public Member Functions | |
| __construct () | |
| Constructor @access public. More... | |
| setTitle ($a_title) | |
| Set form title. More... | |
| getTitle () | |
| Get search form title. More... | |
| enableSearchableCheck ($a_status) | |
| En/disable the validation of the searchable flag. More... | |
| isSearchableCheckEnabled () | |
| setPrivacyMode ($privacy_mode) | |
| getPrivacyMode () | |
| setString ($a_str) | |
| Set/get search string @access public. More... | |
| getString () | |
| executeCommand () | |
| Control @access public. More... | |
| __clearSession () | |
| cancel () | |
| start () | |
| addUser () | |
| setCallback (&$class, $method, $a_add_options=array()) | |
| showSearch () | |
| showSearchSelected () | |
| submit from autocomplete More... | |
| initFormSearch (ilObjUser $user=NULL) | |
| show () | |
| appendSearch () | |
| performSearch () | |
| Perform a search. More... | |
| __performUserSearch () | |
| __performGroupSearch () | |
| Search groups. More... | |
| __performRoleSearch () | |
| Search roles. More... | |
| & | __parseQueryString ($a_string, $a_combination_or=true, $a_ignore_length=false) |
| parse query string, using query parser instance More... | |
| __loadQueries () | |
| __setSearchType () | |
| __updateResults () | |
| __appendToStoredResults ($a_usr_ids) | |
| __storeEntries (&$new_res) | |
| showSearchResults () | |
| searchResultFilterListener ($a_ref_id, $a_data) | |
| Listener called from ilSearchResult Id is obj_id for role, usr Id is ref_id for crs grp. More... | |
| allowObjectSelection ($a_value=false) | |
| Toggle object selection status. More... | |
| setUserLimitations ($a_limitations) | |
| allow user limitations like inactive and access limitations More... | |
| getUserLimitations () | |
| allow user limitations like inactive and access limitations More... | |
Static Public Member Functions | |
| static | fillAutoCompleteToolbar ($parent_object, ilToolbarGUI $toolbar=null, $a_options=array(), $a_sticky=false) |
| fill toolbar with More... | |
Data Fields | |
| $search_type = 'usr' | |
Protected Member Functions | |
| doUserAutoComplete () | |
| Do auto completion. More... | |
| addUserFromAutoComplete () | |
| Add user from auto complete input. More... | |
| showClipboard () | |
| addFromClipboard () | |
| add users from clipboard More... | |
| removeFromClipboard () | |
| Remove from clipboard. More... | |
| emptyClipboard () | |
| Remove from clipboard. More... | |
| handleMultiCommand () | |
| Handle multi command. More... | |
| __performCourseSearch () | |
| Search courses. More... | |
| addNewSearchButton () | |
| Add new search button. More... | |
| showSearchUserTable ($a_usr_ids, $a_parent_cmd) | |
| Show usr table. More... | |
| showSearchRoleTable ($a_obj_ids) | |
| Show usr table. More... | |
| showSearchGroupTable ($a_obj_ids) | |
| showSearchCourseTable ($a_obj_ids) | |
| listUsers () | |
| List users of course/group/roles. More... | |
| storedUserList () | |
| Called from table sort. More... | |
| selectObject () | |
| Return selection of course/group/roles to calling script. More... | |
Protected Attributes | |
| $add_options = array() | |
| $object_selection = false | |
| $searchable_check = true | |
| $search_title = '' | |
| $user_limitations = true | |
Private Attributes | |
| $search_results = array() | |
| $privacy_mode = ilUserAutoComplete::PRIVACY_MODE_IGNORE_USER_SETTING | |
Definition at line 42 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::__construct | ( | ) |
Constructor @access public.
Definition at line 65 of file class.ilRepositorySearchGUI.php.
References $ilCtrl, $lng, $tpl, __loadQueries(), __setSearchType(), settings(), and setTitle().
Here is the call graph for this function:| ilRepositorySearchGUI::__appendToStoredResults | ( | $a_usr_ids | ) |
Definition at line 1017 of file class.ilRepositorySearchGUI.php.
References $_SESSION.
Referenced by listUsers().
Here is the caller graph for this function:| ilRepositorySearchGUI::__clearSession | ( | ) |
Definition at line 391 of file class.ilRepositorySearchGUI.php.
References $_SESSION.
Referenced by start().
Here is the caller graph for this function:| ilRepositorySearchGUI::__loadQueries | ( | ) |
Definition at line 965 of file class.ilRepositorySearchGUI.php.
References $_POST, and $_SESSION.
Referenced by __construct().
Here is the caller graph for this function:| & ilRepositorySearchGUI::__parseQueryString | ( | $a_string, | |
$a_combination_or = true, |
|||
$a_ignore_length = false |
|||
| ) |
parse query string, using query parser instance
Definition at line 943 of file class.ilRepositorySearchGUI.php.
References QP_COMBINATION_AND, QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performCourseSearch(), __performGroupSearch(), __performRoleSearch(), and __performUserSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Search courses.
Definition at line 895 of file class.ilRepositorySearchGUI.php.
References $_SESSION, __parseQueryString(), __storeEntries(), and ilUtil\sendInfo().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::__performGroupSearch | ( | ) |
Search groups.
Definition at line 872 of file class.ilRepositorySearchGUI.php.
References $_SESSION, __parseQueryString(), __storeEntries(), and ilUtil\sendInfo().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::__performRoleSearch | ( | ) |
Search roles.
Definition at line 918 of file class.ilRepositorySearchGUI.php.
References $_SESSION, __parseQueryString(), __storeEntries(), and ilUtil\sendInfo().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::__performUserSearch | ( | ) |
Definition at line 799 of file class.ilRepositorySearchGUI.php.
References $_SESSION, $info, __parseQueryString(), __storeEntries(), ilUserSearchOptions\_getSearchableFieldsInfo(), ilObjectSearchFactory\_getUserDefinedFieldSearchInstance(), ilObjectSearchFactory\_getUserSearchInstance(), FIELD_TYPE_MULTI, FIELD_TYPE_SELECT, FIELD_TYPE_TEXT, FIELD_TYPE_UDF_SELECT, FIELD_TYPE_UDF_TEXT, ilObjectSearchFactory\getUserMultiFieldSearchInstance(), ilObjectSearchFactory\getUserOrgUnitAssignmentInstance(), isSearchableCheckEnabled(), and ilUtil\sendInfo().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::__setSearchType | ( | ) |
Definition at line 974 of file class.ilRepositorySearchGUI.php.
References $_POST, and $_SESSION.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySearchGUI::__storeEntries | ( | & | $new_res | ) |
Definition at line 1031 of file class.ilRepositorySearchGUI.php.
Referenced by __performCourseSearch(), __performGroupSearch(), __performRoleSearch(), and __performUserSearch().
Here is the caller graph for this function:| ilRepositorySearchGUI::__updateResults | ( | ) |
Definition at line 995 of file class.ilRepositorySearchGUI.php.
References $_SESSION, $result, and $search_type.
Referenced by performSearch().
Here is the caller graph for this function:
|
protected |
add users from clipboard
Definition at line 478 of file class.ilRepositorySearchGUI.php.
References $_POST, $GLOBALS, and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Add new search button.
Definition at line 1050 of file class.ilRepositorySearchGUI.php.
Referenced by listUsers(), showSearchResults(), and showSearchSelected().
Here is the caller graph for this function:| ilRepositorySearchGUI::addUser | ( | ) |
Reimplemented in ilStudyProgrammeRepositorySearchGUI.
Definition at line 415 of file class.ilRepositorySearchGUI.php.
References $_POST, and showSearchResults().
Here is the call graph for this function:
|
protected |
Add user from auto complete input.
Definition at line 430 of file class.ilRepositorySearchGUI.php.
References $_POST, $GLOBALS, and ilObjUser\_lookupId().
Here is the call graph for this function:| ilRepositorySearchGUI::allowObjectSelection | ( | $a_value = false | ) |
Toggle object selection status.
| bool | $a_value |
Definition at line 1262 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::appendSearch | ( | ) |
Definition at line 701 of file class.ilRepositorySearchGUI.php.
References $_SESSION, and performSearch().
Here is the call graph for this function:| ilRepositorySearchGUI::cancel | ( | ) |
Definition at line 400 of file class.ilRepositorySearchGUI.php.
|
protected |
Do auto completion.
Definition at line 310 of file class.ilRepositorySearchGUI.php.
References $_GET, $GLOBALS, ilJsonUtil\encode(), exit, getPrivacyMode(), getUserLimitations(), and ilUserAutoComplete\MAX_ENTRIES.
Here is the call graph for this function:
|
protected |
Remove from clipboard.
Definition at line 522 of file class.ilRepositorySearchGUI.php.
References $GLOBALS, ilUserClipboard\getInstance(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilRepositorySearchGUI::enableSearchableCheck | ( | $a_status | ) |
En/disable the validation of the searchable flag.
| bool | $a_status |
Definition at line 108 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::executeCommand | ( | ) |
Control @access public.
Definition at line 369 of file class.ilRepositorySearchGUI.php.
References $cmd.
|
static |
fill toolbar with
| ilToolbarGUI | $toolbar | |
| array | options: all are optional e.g. array( auto_complete_name = $lng->txt('user'), auto_complete_size = 15, user_type = array(ilCourseParticipants::CRS_MEMBER,ilCourseParticpants::CRS_TUTOR), submit_name = $lng->txt('add') ) |
Reimplemented in ilStudyProgrammeRepositorySearchGUI.
Definition at line 152 of file class.ilRepositorySearchGUI.php.
References $GLOBALS, $ilCtrl, $lng, $si, ilObject\_lookupObjId(), ilUserClipboard\getInstance(), ilLinkButton\getInstance(), ilSubmitButton\getInstance(), and ilSplitButtonGUI\getInstance().
Referenced by ilOrgUnitStaffGUI\addOtherRolesToolbar(), ilOrgUnitStaffGUI\addStaffToolbar(), ilObjBlogGUI\contributors(), ilSurveyParticipantsGUI\editRatersObject(), ilSurveyParticipantsGUI\inviteObject(), ilSurveyParticipantsGUI\listAppraiseesObject(), ilExerciseManagementGUI\membersObject(), ilObjTestGUI\participantsObject(), ilMembershipGUI\showParticipantsToolbar(), ilSkillProfileGUI\showUsers(), ilExSubmissionTeamGUI\submissionScreenTeamObject(), ilObjRoleGUI\userassignmentObject(), and ilIndividualAssessmentMembersGUI\view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::getPrivacyMode | ( | ) |
Definition at line 133 of file class.ilRepositorySearchGUI.php.
References $privacy_mode.
Referenced by doUserAutoComplete().
Here is the caller graph for this function:| ilRepositorySearchGUI::getString | ( | ) |
Definition at line 360 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::getTitle | ( | ) |
Get search form title.
Definition at line 99 of file class.ilRepositorySearchGUI.php.
References $search_title.
Referenced by initFormSearch().
Here is the caller graph for this function:| ilRepositorySearchGUI::getUserLimitations | ( | ) |
allow user limitations like inactive and access limitations
Definition at line 1303 of file class.ilRepositorySearchGUI.php.
References $user_limitations.
Referenced by doUserAutoComplete(), and showSearchUserTable().
Here is the caller graph for this function:
|
protected |
Handle multi command.
Definition at line 536 of file class.ilRepositorySearchGUI.php.
References $_POST, and showSearchResults().
Here is the call graph for this function:| ilRepositorySearchGUI::initFormSearch | ( | ilObjUser | $user = NULL | ) |
Definition at line 579 of file class.ilRepositorySearchGUI.php.
References $ilCtrl, $info, $txt, ilUserSearchOptions\_getSearchableFieldsInfo(), FIELD_TYPE_MULTI, FIELD_TYPE_SELECT, FIELD_TYPE_TEXT, FIELD_TYPE_UDF_SELECT, FIELD_TYPE_UDF_TEXT, getTitle(), and isSearchableCheckEnabled().
Referenced by showSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::isSearchableCheckEnabled | ( | ) |
Definition at line 117 of file class.ilRepositorySearchGUI.php.
References $searchable_check.
Referenced by __performUserSearch(), and initFormSearch().
Here is the caller graph for this function:
|
protected |
List users of course/group/roles.
Definition at line 1174 of file class.ilRepositorySearchGUI.php.
References $_GET, $_POST, $_SESSION, __appendToStoredResults(), ilObject\_lookupType(), addNewSearchButton(), ilUserFilter\getInstance(), ilParticipants\getInstanceByObjId(), ilParticipants\hasParticipantListAccess(), ilUtil\sendFailure(), showSearchResults(), and showSearchUserTable().
Referenced by storedUserList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::performSearch | ( | ) |
Perform a search.
Definition at line 711 of file class.ilRepositorySearchGUI.php.
References $_POST, $_SESSION, $GLOBALS, $res, __performCourseSearch(), __performGroupSearch(), __performRoleSearch(), __performUserSearch(), __updateResults(), ilUserFilter\getInstance(), QP_COMBINATION_OR, ilUtil\sendFailure(), ilUtil\sendInfo(), show(), showSearch(), sprintf, start(), and ilUtil\stripSlashes().
Referenced by appendSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Remove from clipboard.
Definition at line 500 of file class.ilRepositorySearchGUI.php.
References $_POST, $GLOBALS, ilUserClipboard\getInstance(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilRepositorySearchGUI::searchResultFilterListener | ( | $a_ref_id, | |
| $a_data | |||
| ) |
Listener called from ilSearchResult Id is obj_id for role, usr Id is ref_id for crs grp.
| int | $a_id | |
| array | $a_data |
Definition at line 1245 of file class.ilRepositorySearchGUI.php.
|
protected |
Return selection of course/group/roles to calling script.
Definition at line 1270 of file class.ilRepositorySearchGUI.php.
References $_GET, $_POST, ilUtil\sendFailure(), and showSearchResults().
Here is the call graph for this function:| ilRepositorySearchGUI::setCallback | ( | & | $class, |
| $method, | |||
$a_add_options = array() |
|||
| ) |
Definition at line 548 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setPrivacyMode | ( | $privacy_mode | ) |
| int | $privacy_mode |
Definition at line 125 of file class.ilRepositorySearchGUI.php.
References $privacy_mode.
| ilRepositorySearchGUI::setString | ( | $a_str | ) |
Set/get search string @access public.
Definition at line 356 of file class.ilRepositorySearchGUI.php.
References $_SESSION.
| ilRepositorySearchGUI::setTitle | ( | $a_title | ) |
Set form title.
| string | $a_title |
Definition at line 90 of file class.ilRepositorySearchGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySearchGUI::setUserLimitations | ( | $a_limitations | ) |
allow user limitations like inactive and access limitations
| bool | $a_limitations |
Definition at line 1294 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::show | ( | ) |
Definition at line 696 of file class.ilRepositorySearchGUI.php.
References showSearchResults().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 454 of file class.ilRepositorySearchGUI.php.
References $GLOBALS, and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilRepositorySearchGUI::showSearch | ( | ) |
Definition at line 554 of file class.ilRepositorySearchGUI.php.
References initFormSearch().
Referenced by performSearch(), and start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| array | $a_obj_ids |
Definition at line 1160 of file class.ilRepositorySearchGUI.php.
Referenced by showSearchResults().
Here is the caller graph for this function:
|
protected |
| array | $a_obj_ids |
Definition at line 1145 of file class.ilRepositorySearchGUI.php.
Referenced by showSearchResults().
Here is the caller graph for this function:| ilRepositorySearchGUI::showSearchResults | ( | ) |
Definition at line 1061 of file class.ilRepositorySearchGUI.php.
References $_SESSION, $counter, addNewSearchButton(), showSearchCourseTable(), showSearchGroupTable(), showSearchRoleTable(), and showSearchUserTable().
Referenced by addUser(), handleMultiCommand(), listUsers(), selectObject(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show usr table.
| object | $a_usr_ids |
Definition at line 1130 of file class.ilRepositorySearchGUI.php.
Referenced by showSearchResults().
Here is the caller graph for this function:| ilRepositorySearchGUI::showSearchSelected | ( | ) |
submit from autocomplete
Definition at line 563 of file class.ilRepositorySearchGUI.php.
References addNewSearchButton(), and showSearchUserTable().
Here is the call graph for this function:
|
protected |
Show usr table.
| object | $a_usr_ids |
Definition at line 1094 of file class.ilRepositorySearchGUI.php.
References $_SESSION, and getUserLimitations().
Referenced by listUsers(), showSearchResults(), and showSearchSelected().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::start | ( | ) |
Definition at line 405 of file class.ilRepositorySearchGUI.php.
References __clearSession(), and showSearch().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Called from table sort.
Definition at line 1230 of file class.ilRepositorySearchGUI.php.
References $_POST, $_SESSION, and listUsers().
Here is the call graph for this function:
|
protected |
Definition at line 46 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 47 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 58 of file class.ilRepositorySearchGUI.php.
Referenced by getPrivacyMode(), and setPrivacyMode().
|
private |
Definition at line 44 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 50 of file class.ilRepositorySearchGUI.php.
Referenced by getTitle().
| ilRepositorySearchGUI::$search_type = 'usr' |
Definition at line 52 of file class.ilRepositorySearchGUI.php.
Referenced by __updateResults().
|
protected |
Definition at line 49 of file class.ilRepositorySearchGUI.php.
Referenced by isSearchableCheckEnabled().
|
protected |
Definition at line 53 of file class.ilRepositorySearchGUI.php.
Referenced by getUserLimitations().