|
ILIAS
release_8 Revision v8.24
|
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 37 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::__construct | ( | ) |
Definition at line 79 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 1121 of file class.ilRepositorySearchGUI.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::__clearSession | ( | ) |
Definition at line 422 of file class.ilRepositorySearchGUI.php.
References ilSession\clear().
Here is the call graph for this function:| ilRepositorySearchGUI::__loadQueries | ( | ) |
Definition at line 1073 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 1053 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 1017 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:| ilRepositorySearchGUI::__performGroupSearch | ( | ) |
Definition at line 1001 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:| ilRepositorySearchGUI::__performRoleSearch | ( | ) |
Definition at line 1033 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:| ilRepositorySearchGUI::__performUserSearch | ( | ) |
Definition at line 939 of file class.ilRepositorySearchGUI.php.
References $name, 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 1084 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 1138 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::__updateResults | ( | ) |
Definition at line 1100 of file class.ilRepositorySearchGUI.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:
|
protected |
Definition at line 547 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 1150 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilRepositorySearchGUI::addRole | ( | ) |
Definition at line 445 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 476 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 140 of file class.ilRepositorySearchGUI.php.
References $user_filter.
|
protected |
Definition at line 497 of file class.ilRepositorySearchGUI.php.
References 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 1372 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::appendSearch | ( | ) |
Definition at line 830 of file class.ilRepositorySearchGUI.php.
References ilSession\set().
Here is the call graph for this function:| ilRepositorySearchGUI::cancel | ( | ) |
Definition at line 430 of file class.ilRepositorySearchGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 337 of file class.ilRepositorySearchGUI.php.
References $query, 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 603 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 155 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::executeCommand | ( | ) |
Definition at line 407 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 194 of file class.ilRepositorySearchGUI.php.
Referenced by ilOrgUnitStaffGUI\addOtherRolesToolbar(), ilOrgUnitStaffGUI\addStaffToolbar(), ilTestParticipantsGUI\addUserSearchControls(), ilObjBlogGUI\contributors(), ilOrgUnitUserAssignmentGUI\index(), ilSurveyParticipantsGUI\listAppraiseesObject(), ilExerciseManagementGUI\membersObject(), ilBookingParticipantGUI\render(), 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 170 of file class.ilRepositorySearchGUI.php.
References $privacy_mode.
| ilRepositorySearchGUI::getRoleCallback | ( | ) |
Definition at line 180 of file class.ilRepositorySearchGUI.php.
References $role_callback.
| ilRepositorySearchGUI::getSearchType | ( | ) |
Definition at line 175 of file class.ilRepositorySearchGUI.php.
References $search_type.
| ilRepositorySearchGUI::getString | ( | ) |
Definition at line 402 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::getTitle | ( | ) |
Definition at line 150 of file class.ilRepositorySearchGUI.php.
References $search_title.
| ilRepositorySearchGUI::getUserLimitations | ( | ) |
allow user limitations like inactive and access limitations
Definition at line 1422 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 614 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 699 of file class.ilRepositorySearchGUI.php.
References $txt, ilUserSearchOptions\_getSearchableFieldsInfo(), ilUserSearchOptions\_isEnabled(), 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(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 121 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 110 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 160 of file class.ilRepositorySearchGUI.php.
References $searchable_check.
|
protected |
Definition at line 1249 of file class.ilRepositorySearchGUI.php.
References $type, ilObject\_getAllReferences(), ilObject\_lookupType(), ILIAS\UI\examples\Symbol\Glyph\Filter\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 836 of file class.ilRepositorySearchGUI.php.
References $message, $ref_id, $res, ilObject\_lookupObjId(), ilSession\clear(), ILIAS\UI\examples\Symbol\Glyph\Filter\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 576 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 1362 of file class.ilRepositorySearchGUI.php.
References ANONYMOUS_USER_ID.
|
protected |
Return selection of course/group/roles to calling script.
Definition at line 1380 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 644 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setPermissionQueryCallback | ( | object | $class, |
| string | $method | ||
| ) |
Definition at line 670 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setPrivacyMode | ( | int | $privacy_mode | ) |
Definition at line 165 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 658 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::setString | ( | string | $a_str | ) |
Definition at line 396 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 145 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 1414 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::show | ( | ) |
Definition at line 825 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 525 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 674 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 1241 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 1233 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::showSearchResults | ( | ) |
Definition at line 1160 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:
|
protected |
Definition at line 1225 of file class.ilRepositorySearchGUI.php.
| ilRepositorySearchGUI::showSearchSelected | ( | ) |
Definition at line 685 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 1189 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 435 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 1349 of file class.ilRepositorySearchGUI.php.
References ilSession\get().
Here is the call graph for this function:
|
protected |
Definition at line 41 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 53 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 70 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 42 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 58 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 76 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 75 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 43 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 65 of file class.ilRepositorySearchGUI.php.
Referenced by getPrivacyMode(), and setPrivacyMode().
|
protected |
Definition at line 73 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 77 of file class.ilRepositorySearchGUI.php.
Referenced by ilStudyProgrammeRepositorySearchGUI\addUser().
|
protected |
Definition at line 56 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 54 of file class.ilRepositorySearchGUI.php.
Referenced by getRoleCallback().
|
private |
Definition at line 39 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 46 of file class.ilRepositorySearchGUI.php.
Referenced by getTitle().
|
private |
Definition at line 48 of file class.ilRepositorySearchGUI.php.
Referenced by getSearchType().
|
protected |
Definition at line 45 of file class.ilRepositorySearchGUI.php.
Referenced by isSearchableCheckEnabled().
|
protected |
Definition at line 57 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 52 of file class.ilRepositorySearchGUI.php.
|
private |
Definition at line 49 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 74 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 71 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 67 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 69 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 68 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 72 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 63 of file class.ilRepositorySearchGUI.php.
Referenced by addUserAccessFilterCallable().
|
protected |
Definition at line 50 of file class.ilRepositorySearchGUI.php.