ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilRepositorySearchGUI () | |
Constructor public. | |
setString ($a_str) | |
Set/get search string public. | |
getString () | |
& | executeCommand () |
Control public. | |
__clearSession () | |
cancel () | |
start () | |
addUser () | |
setCallback (&$class, $method, $a_add_options=array()) | |
showSearch () | |
initFormSearch () | |
show () | |
appendSearch () | |
performSearch () | |
Perform a search. | |
__performUserSearch () | |
__performGroupSearch () | |
Search groups. | |
__performRoleSearch () | |
Search roles. | |
& | __parseQueryString ($a_string) |
parse query string, using query parser instance | |
__loadQueries () | |
__setSearchType () | |
__updateResults () | |
__appendToStoredResults ($a_usr_ids) | |
__storeEntries (&$new_res) | |
showSearchResults () | |
userFilter ($a_ref_id, $a_data) |
Data Fields | |
$search_type = 'usr' |
Protected Member Functions | |
__performCourseSearch () | |
Search courses. | |
addNewSearchButton () | |
Add new search button. | |
showSearchUserTable ($a_usr_ids, $a_parent_cmd) | |
Show usr table. | |
showSearchRoleTable ($a_obj_ids) | |
Show usr table. | |
showSearchGroupTable ($a_obj_ids) | |
showSearchCourseTable ($a_obj_ids) | |
listUsers () | |
List users of course/group/roles. | |
storedUserList () | |
Called from table sort. |
Protected Attributes | |
$add_options = array() |
Definition at line 38 of file class.ilRepositorySearchGUI.php.
ilRepositorySearchGUI::__appendToStoredResults | ( | $a_usr_ids | ) |
Definition at line 495 of file class.ilRepositorySearchGUI.php.
References $_SESSION, and $usr_id.
Referenced by listUsers().
ilRepositorySearchGUI::__clearSession | ( | ) |
ilRepositorySearchGUI::__loadQueries | ( | ) |
Definition at line 443 of file class.ilRepositorySearchGUI.php.
References $_POST, and $_SESSION.
Referenced by ilRepositorySearchGUI().
& ilRepositorySearchGUI::__parseQueryString | ( | $a_string | ) |
parse query string, using query parser instance
Definition at line 426 of file class.ilRepositorySearchGUI.php.
References QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performCourseSearch(), __performGroupSearch(), __performRoleSearch(), and __performUserSearch().
|
protected |
Search courses.
Definition at line 378 of file class.ilRepositorySearchGUI.php.
References $_SESSION, __parseQueryString(), __storeEntries(), and ilUtil\sendInfo().
Referenced by performSearch().
ilRepositorySearchGUI::__performGroupSearch | ( | ) |
Search groups.
Definition at line 355 of file class.ilRepositorySearchGUI.php.
References $_SESSION, __parseQueryString(), __storeEntries(), and ilUtil\sendInfo().
Referenced by performSearch().
ilRepositorySearchGUI::__performRoleSearch | ( | ) |
Search roles.
Definition at line 401 of file class.ilRepositorySearchGUI.php.
References $_SESSION, __parseQueryString(), __storeEntries(), and ilUtil\sendInfo().
Referenced by performSearch().
ilRepositorySearchGUI::__performUserSearch | ( | ) |
Definition at line 305 of file class.ilRepositorySearchGUI.php.
References $_SESSION, $name, __parseQueryString(), __storeEntries(), ilUserSearchOptions\_getSearchableFieldsInfo(), ilObjectSearchFactory\_getUserDefinedFieldSearchInstance(), ilObjectSearchFactory\_getUserSearchInstance(), FIELD_TYPE_SELECT, FIELD_TYPE_TEXT, FIELD_TYPE_UDF_SELECT, FIELD_TYPE_UDF_TEXT, and ilUtil\sendInfo().
Referenced by performSearch().
ilRepositorySearchGUI::__setSearchType | ( | ) |
Definition at line 452 of file class.ilRepositorySearchGUI.php.
References $_POST, and $_SESSION.
Referenced by ilRepositorySearchGUI().
ilRepositorySearchGUI::__storeEntries | ( | & | $new_res | ) |
Definition at line 508 of file class.ilRepositorySearchGUI.php.
Referenced by __performCourseSearch(), __performGroupSearch(), __performRoleSearch(), and __performUserSearch().
ilRepositorySearchGUI::__updateResults | ( | ) |
Definition at line 473 of file class.ilRepositorySearchGUI.php.
References $_SESSION, $result, and $search_type.
Referenced by performSearch().
|
protected |
Add new search button.
Definition at line 527 of file class.ilRepositorySearchGUI.php.
Referenced by listUsers(), and showSearchResults().
ilRepositorySearchGUI::addUser | ( | ) |
Definition at line 129 of file class.ilRepositorySearchGUI.php.
References $_POST, $method, and showSearchResults().
ilRepositorySearchGUI::appendSearch | ( | ) |
Definition at line 229 of file class.ilRepositorySearchGUI.php.
References $_SESSION, and performSearch().
ilRepositorySearchGUI::cancel | ( | ) |
Definition at line 114 of file class.ilRepositorySearchGUI.php.
& ilRepositorySearchGUI::executeCommand | ( | ) |
ilRepositorySearchGUI::getString | ( | ) |
Definition at line 76 of file class.ilRepositorySearchGUI.php.
ilRepositorySearchGUI::ilRepositorySearchGUI | ( | ) |
Constructor public.
Definition at line 48 of file class.ilRepositorySearchGUI.php.
References $ilCtrl, $lng, $tpl, __loadQueries(), and __setSearchType().
ilRepositorySearchGUI::initFormSearch | ( | ) |
Definition at line 152 of file class.ilRepositorySearchGUI.php.
References ilUserSearchOptions\_getSearchableFieldsInfo(), ilRadioOption\addSubItem(), FIELD_TYPE_SELECT, FIELD_TYPE_TEXT, FIELD_TYPE_UDF_SELECT, FIELD_TYPE_UDF_TEXT, and ilRadioGroupInputGUI\setValue().
Referenced by showSearch().
|
protected |
List users of course/group/roles.
Definition at line 631 of file class.ilRepositorySearchGUI.php.
References $_GET, $_POST, $_SESSION, $type, __appendToStoredResults(), ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupType(), addNewSearchButton(), ilUtil\sendFailure(), showSearchResults(), and showSearchUserTable().
Referenced by storedUserList().
ilRepositorySearchGUI::performSearch | ( | ) |
Perform a search.
Definition at line 239 of file class.ilRepositorySearchGUI.php.
References $_POST, $_SESSION, __performCourseSearch(), __performGroupSearch(), __performRoleSearch(), __performUserSearch(), __updateResults(), QP_COMBINATION_OR, ilUtil\sendFailure(), ilUtil\sendInfo(), show(), showSearch(), start(), and ilUtil\stripSlashes().
Referenced by appendSearch().
ilRepositorySearchGUI::setCallback | ( | & | $class, |
$method, | |||
$a_add_options = array() |
|||
) |
Definition at line 140 of file class.ilRepositorySearchGUI.php.
References $method.
ilRepositorySearchGUI::setString | ( | $a_str | ) |
Set/get search string public.
Definition at line 72 of file class.ilRepositorySearchGUI.php.
References $_SESSION.
ilRepositorySearchGUI::show | ( | ) |
Definition at line 224 of file class.ilRepositorySearchGUI.php.
References showSearchResults().
Referenced by performSearch().
ilRepositorySearchGUI::showSearch | ( | ) |
Definition at line 146 of file class.ilRepositorySearchGUI.php.
References initFormSearch().
Referenced by performSearch(), and start().
|
protected |
array | $a_obj_ids |
Definition at line 617 of file class.ilRepositorySearchGUI.php.
Referenced by showSearchResults().
|
protected |
array | $a_obj_ids |
Definition at line 602 of file class.ilRepositorySearchGUI.php.
Referenced by showSearchResults().
ilRepositorySearchGUI::showSearchResults | ( | ) |
Definition at line 538 of file class.ilRepositorySearchGUI.php.
References $_SESSION, addNewSearchButton(), showSearchCourseTable(), showSearchGroupTable(), showSearchRoleTable(), and showSearchUserTable().
Referenced by addUser(), listUsers(), and show().
|
protected |
Show usr table.
object | $a_usr_ids |
Definition at line 587 of file class.ilRepositorySearchGUI.php.
Referenced by showSearchResults().
|
protected |
Show usr table.
object | $a_usr_ids |
Definition at line 571 of file class.ilRepositorySearchGUI.php.
Referenced by listUsers(), and showSearchResults().
ilRepositorySearchGUI::start | ( | ) |
Definition at line 119 of file class.ilRepositorySearchGUI.php.
References __clearSession(), and showSearch().
Referenced by performSearch().
|
protected |
Called from table sort.
Definition at line 688 of file class.ilRepositorySearchGUI.php.
References $_POST, $_SESSION, and listUsers().
ilRepositorySearchGUI::userFilter | ( | $a_ref_id, | |
$a_data | |||
) |
int | $a_ref_id | |
array | $a_data |
Definition at line 701 of file class.ilRepositorySearchGUI.php.
|
protected |
Definition at line 40 of file class.ilRepositorySearchGUI.php.
ilRepositorySearchGUI::$search_type = 'usr' |
Definition at line 42 of file class.ilRepositorySearchGUI.php.
Referenced by __updateResults().