|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilRepositorySearchGUI:
Collaboration diagram for ilRepositorySearchGUI:Public Member Functions | |
| __construct () | |
| addUserAccessFilterCallable (callable $user_filter) | |
| Closure for filtering users e.g $rep_search_gui->addUserAccessFilterCallable(function($user_ids) use($ref_id,$rbac_perm,$pos_perm)) { // filter users return $filtered_users }. More... | |
| setTitle (string $a_title) | |
| getTitle () | |
| enableSearchableCheck (bool $a_status) | |
| isSearchableCheckEnabled () | |
| setPrivacyMode (int $privacy_mode) | |
| getPrivacyMode () | |
| getSearchType () | |
| getRoleCallback () | |
| setString (string $a_str) | |
| getString () | |
| executeCommand () | |
| __clearSession () | |
| cancel () | |
| start () | |
| addRole () | |
| addUser () | |
| setCallback (object $class, string $method, array $a_add_options=[], string $default_option='') | |
| setRoleCallback (object $class, string $method, array $a_add_options=[], string $default_option='') | |
| setPermissionQueryCallback (object $class, string $method) | |
| showSearch () | |
| showSearchSelected () | |
| initFormSearch (?ilObjUser $user=null) | |
| show () | |
| appendSearch () | |
| performSearch () | |
| __performUserSearch () | |
| __performGroupSearch () | |
| __performRoleSearch () | |
| __parseQueryString (string $a_string, bool $a_combination_or=true, bool $a_ignore_length=false) | |
| __loadQueries () | |
| __setSearchType () | |
| __updateResults () | |
| __appendToStoredResults (array $a_usr_ids) | |
| __storeEntries (ilSearchResult $new_res) | |
| showSearchResults () | |
| searchResultFilterListener (int $a_ref_id, array $a_data) | |
| Listener called from ilSearchResult Id is obj_id for role, usr Id is ref_id for crs grp. More... | |
| allowObjectSelection (bool $a_value=false) | |
| setUserLimitations (bool $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 (object $parent_object, ?ilToolbarGUI $toolbar=null, array $a_options=[], bool $a_sticky=false) |
| 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') ) More... | |
Protected Member Functions | |
| initUserTypeFromQuery () | |
| initUserTypeFromPost () | |
| doUserAutoComplete () | |
| addUserFromAutoComplete () | |
| showClipboard () | |
| addFromClipboard () | |
| removeFromClipboard () | |
| emptyClipboard () | |
| handleMultiCommand () | |
| __performCourseSearch () | |
| addNewSearchButton () | |
| showSearchUserTable (array $a_usr_ids, string $a_parent_cmd) | |
| showSearchRoleTable (array $a_obj_ids) | |
| showSearchGroupTable (array $a_obj_ids) | |
| showSearchCourseTable (array $a_obj_ids) | |
| listUsers (array $selected_entries=[]) | |
| storedUserList () | |
| selectObject () | |
| Return selection of course/group/roles to calling script. More... | |
Protected Attributes | |
| array | $add_options = [] |
| string | $default_option = '' |
| bool | $object_selection = false |
| bool | $searchable_check = true |
| string | $search_title = '' |
| bool | $user_limitations = true |
| bool | $stored = false |
| array | $callback = [] |
| array | $role_callback = [] |
| ilSearchResult | $result_obj |
| ilSearchSettings | $settings |
| ilPropertyFormGUI | $form = null |
| $user_filter = null | |
| ilTree | $tree |
| Renderer | $ui_renderer |
| Factory | $ui_factory |
| ilCtrl | $ctrl |
| ilGlobalTemplateInterface | $tpl |
| ilObjUser | $user = null |
| ilRbacReview | $rbacreview |
| ilTabsGUI | $tabs |
| ilLanguage | $lng |
Private Attributes | |
| array | $search_results = [] |
| string | $search_type = 'usr' |
| string | $string = '' |
| int | $privacy_mode = ilUserAutoComplete::PRIVACY_MODE_IGNORE_USER_SETTING |
| GlobalHttpState | $http |
| RefineryFactory | $refinery |
Definition at line 38 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::__construct | ( | ) |
Definition at line 80 of file class.ilRepositorySearchGUI.php.
References $DIC, __loadQueries(), __setSearchType(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), setTitle(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilRepositorySearchGUI::__appendToStoredResults | ( | array | $a_usr_ids | ) |
Definition at line 1117 of file class.ilRepositorySearchGUI.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::__clearSession | ( | ) |
Definition at line 419 of file class.ilRepositorySearchGUI.php.
References ilSession\clear().
Here is the call graph for this function:| ilRepositorySearchGUI::__loadQueries | ( | ) |
Definition at line 1069 of file class.ilRepositorySearchGUI.php.
References ILIAS\FileDelivery\http(), and ilSession\set().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::__parseQueryString | ( | string | $a_string, |
| bool | $a_combination_or = true, |
||
| bool | $a_ignore_length = false |
||
| ) |
Definition at line 1049 of file class.ilRepositorySearchGUI.php.
References ilQueryParser\QP_COMBINATION_AND, ilQueryParser\QP_COMBINATION_OR, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 1013 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:| ilRepositorySearchGUI::__performGroupSearch | ( | ) |
Definition at line 997 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:| ilRepositorySearchGUI::__performRoleSearch | ( | ) |
Definition at line 1029 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:| ilRepositorySearchGUI::__performUserSearch | ( | ) |
Definition at line 936 of file class.ilRepositorySearchGUI.php.
References $info, ilUserSearchOptions\_getSearchableFieldsInfo(), ilObjectSearchFactory\_getUserDefinedFieldSearchInstance(), ilObjectSearchFactory\_getUserSearchInstance(), ilUserSearchOptions\FIELD_TYPE_MULTI, ilUserSearchOptions\FIELD_TYPE_SELECT, ilUserSearchOptions\FIELD_TYPE_TEXT, ilUserSearchOptions\FIELD_TYPE_UDF_SELECT, ilUserSearchOptions\FIELD_TYPE_UDF_TEXT, ilSession\get(), ilObjectSearchFactory\getUserMultiFieldSearchInstance(), and ilObjectSearchFactory\getUserOrgUnitAssignmentInstance().
Here is the call graph for this function:| ilRepositorySearchGUI::__setSearchType | ( | ) |
Definition at line 1080 of file class.ilRepositorySearchGUI.php.
References ilSession\get(), ILIAS\FileDelivery\http(), and ilSession\set().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySearchGUI::__storeEntries | ( | ilSearchResult | $new_res | ) |
Definition at line 1134 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::__updateResults | ( | ) |
Definition at line 1096 of file class.ilRepositorySearchGUI.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:
|
protected |
Definition at line 544 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 1146 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilRepositorySearchGUI::addRole | ( | ) |
Definition at line 442 of file class.ilRepositorySearchGUI.php.
References $id, $ref_id, ilObject\_getAllReferences(), ilObject\_lookupType(), ilParticipants\getDefaultMemberRole(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRepositorySearchGUI::addUser | ( | ) |
Reimplemented in ilStudyProgrammeRepositorySearchGUI.
Definition at line 473 of file class.ilRepositorySearchGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRepositorySearchGUI::addUserAccessFilterCallable | ( | callable | $user_filter | ) |
Closure for filtering users e.g $rep_search_gui->addUserAccessFilterCallable(function($user_ids) use($ref_id,$rbac_perm,$pos_perm)) { // filter users return $filtered_users }.
Definition at line 141 of file class.ilRepositorySearchGUI.php.
References $user_filter.
|
protected |
Definition at line 494 of file class.ilRepositorySearchGUI.php.
References $user_id, ilObjUser\_lookupId(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRepositorySearchGUI::allowObjectSelection | ( | bool | $a_value = false | ) |
Definition at line 1368 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::appendSearch | ( | ) |
Definition at line 827 of file class.ilRepositorySearchGUI.php.
References ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::cancel | ( | ) |
Definition at line 427 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 334 of file class.ilRepositorySearchGUI.php.
References ANONYMOUS_USER_ID, exit, ILIAS\FileDelivery\http(), ilUserAutoComplete\MAX_ENTRIES, ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 600 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl(), ilUserClipboard\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilRepositorySearchGUI::enableSearchableCheck | ( | bool | $a_status | ) |
Definition at line 156 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::executeCommand | ( | ) |
Definition at line 404 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
static |
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') )
Definition at line 195 of file class.ilRepositorySearchGUI.php.
Referenced by ilTestParticipantsGUI\addUserSearchControls(), ilObjBlogGUI\contributors(), ilOrgUnitUserAssignmentGUI\index(), ilSurveyParticipantsGUI\listAppraiseesObject(), ilExerciseManagementGUI\membersObject(), ilBookingParticipantGUI\render(), ilForumModeratorsGUI\showModeratorsCommand(), ilLearningSequenceMembershipGUI\showParticipantsToolbar(), ilMembershipGUI\showParticipantsToolbar(), ilSkillProfileGUI\showUsers(), ilExSubmissionTeamGUI\submissionScreenTeamObject(), ilObjRoleGUI\userassignmentObject(), and ilIndividualAssessmentMembersGUI\view().
Here is the caller graph for this function:| ilRepositorySearchGUI::getPrivacyMode | ( | ) |
Definition at line 171 of file class.ilRepositorySearchGUI.php.
References $privacy_mode.
| ilRepositorySearchGUI::getRoleCallback | ( | ) |
Definition at line 181 of file class.ilRepositorySearchGUI.php.
References $role_callback.
| ilRepositorySearchGUI::getSearchType | ( | ) |
Definition at line 176 of file class.ilRepositorySearchGUI.php.
References $search_type.
| ilRepositorySearchGUI::getString | ( | ) |
Definition at line 399 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::getTitle | ( | ) |
Definition at line 151 of file class.ilRepositorySearchGUI.php.
References $search_title.
| ilRepositorySearchGUI::getUserLimitations | ( | ) |
allow user limitations like inactive and access limitations
Definition at line 1418 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 611 of file class.ilRepositorySearchGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRepositorySearchGUI::initFormSearch | ( | ?ilObjUser | $user = null | ) |
Definition at line 696 of file class.ilRepositorySearchGUI.php.
References $info, ilUserSearchOptions\_getSearchableFieldsInfo(), ILIAS\Repository\ctrl(), ilUserSearchOptions\FIELD_TYPE_MULTI, ilUserSearchOptions\FIELD_TYPE_SELECT, ilUserSearchOptions\FIELD_TYPE_TEXT, ilUserSearchOptions\FIELD_TYPE_UDF_SELECT, ilUserSearchOptions\FIELD_TYPE_UDF_TEXT, ilUserSearchOptions\FIELD_TYPE_UDF_UNDEFINED, ILIAS\Repository\form(), ilObjUser\getFirstname(), ilObjUser\getLastname(), ilObjUser\getLogin(), ilObjOrgUnit\getRootOrgRefId(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 122 of file class.ilRepositorySearchGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 111 of file class.ilRepositorySearchGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRepositorySearchGUI::isSearchableCheckEnabled | ( | ) |
Definition at line 161 of file class.ilRepositorySearchGUI.php.
References $searchable_check.
|
protected |
Definition at line 1245 of file class.ilRepositorySearchGUI.php.
References ilObject\_getAllReferences(), ilObject\_lookupType(), ILIAS\Repository\filter(), ilSession\get(), ilOrgUnitUserAssignmentQueries\getInstance(), ilUserFilter\getInstance(), ilParticipants\getInstanceByObjId(), ilParticipants\hasParticipantListAccess(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::performSearch | ( | ) |
Definition at line 833 of file class.ilRepositorySearchGUI.php.
References $ref_id, $res, ilObject\_lookupObjId(), ilSession\clear(), ILIAS\Repository\filter(), ilUserFilter\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilUserAutoComplete\PRIVACY_MODE_RESPECT_USER_SETTING, ROOT_FOLDER_ID, show(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 573 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl(), ilUserClipboard\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilRepositorySearchGUI::searchResultFilterListener | ( | int | $a_ref_id, |
| array | $a_data | ||
| ) |
Listener called from ilSearchResult Id is obj_id for role, usr Id is ref_id for crs grp.
Definition at line 1358 of file class.ilRepositorySearchGUI.php.
References ANONYMOUS_USER_ID.
|
protected |
Return selection of course/group/roles to calling script.
Definition at line 1376 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilRepositorySearchGUI::setCallback | ( | object | $class, |
| string | $method, | ||
| array | $a_add_options = [], |
||
| string | $default_option = '' |
||
| ) |
| string[] | $a_add_options |
Definition at line 641 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setPermissionQueryCallback | ( | object | $class, |
| string | $method | ||
| ) |
Definition at line 667 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setPrivacyMode | ( | int | $privacy_mode | ) |
Definition at line 166 of file class.ilRepositorySearchGUI.php.
References $privacy_mode.
| ilRepositorySearchGUI::setRoleCallback | ( | object | $class, |
| string | $method, | ||
| array | $a_add_options = [], |
||
| string | $default_option = '' |
||
| ) |
| string[] | $a_add_options |
Definition at line 655 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setString | ( | string | $a_str | ) |
Definition at line 393 of file class.ilRepositorySearchGUI.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::setTitle | ( | string | $a_title | ) |
Definition at line 146 of file class.ilRepositorySearchGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySearchGUI::setUserLimitations | ( | bool | $a_limitations | ) |
allow user limitations like inactive and access limitations
Definition at line 1410 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::show | ( | ) |
Definition at line 822 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 522 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilRepositorySearchGUI::showSearch | ( | ) |
Definition at line 671 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\form(), and ilUserAutoComplete\PRIVACY_MODE_RESPECT_USER_SETTING.
Here is the call graph for this function:
|
protected |
Definition at line 1237 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 1229 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::showSearchResults | ( | ) |
Definition at line 1156 of file class.ilRepositorySearchGUI.php.
References $counter, and ilSession\get().
Here is the call graph for this function:
|
protected |
Definition at line 1221 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::showSearchSelected | ( | ) |
Definition at line 682 of file class.ilRepositorySearchGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 1185 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::start | ( | ) |
Definition at line 432 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 1345 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:
|
protected |
Definition at line 42 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 54 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 71 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 43 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 59 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 77 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 76 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 44 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 66 of file class.ilRepositorySearchGUI.php.
Referenced by getPrivacyMode(), and setPrivacyMode().
|
protected |
Definition at line 74 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 78 of file class.ilRepositorySearchGUI.php.
Referenced by ilStudyProgrammeRepositorySearchGUI\addUser().
|
protected |
Definition at line 57 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 55 of file class.ilRepositorySearchGUI.php.
Referenced by getRoleCallback().
|
private |
Definition at line 40 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 47 of file class.ilRepositorySearchGUI.php.
Referenced by getTitle().
|
private |
Definition at line 49 of file class.ilRepositorySearchGUI.php.
Referenced by getSearchType().
|
protected |
Definition at line 46 of file class.ilRepositorySearchGUI.php.
Referenced by isSearchableCheckEnabled().
|
protected |
Definition at line 58 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 53 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 50 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 75 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 72 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 68 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 70 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 69 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 73 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 64 of file class.ilRepositorySearchGUI.php.
Referenced by addUserAccessFilterCallable().
|
protected |
Definition at line 51 of file class.ilRepositorySearchGUI.php.