ILIAS
Release_5_0_x_branch Revision 61816
|
Auto completion class for user lists. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
setLimit ($a_limit) | |
getLimit () | |
setSearchType ($search_type) | |
getSearchType () | |
setPrivacyMode ($privacy_mode) | |
getPrivacyMode () | |
setUser ($user) | |
getUser () | |
enableFieldSearchableCheck ($a_status) | |
Enable the check whether the field is searchable in Administration -> Settings -> Standard Fields. | |
isFieldSearchableCheckEnabled () | |
Searchable check enabled. | |
enableUserAccessCheck ($a_status) | |
Enable user access check. | |
isUserAccessCheckEnabled () | |
Check if user access check is enabled. | |
setSearchFields ($a_fields) | |
Set searchable fields. | |
getSearchFields () | |
get possible search fields | |
setResultField ($a_field) | |
Set result field. | |
isMoreLinkAvailable () | |
setMoreLinkAvailable ($more_link_available) | |
IMPORTANT: remember to read request parameter 'fetchall' to use this function. |
Data Fields | |
const | MAX_ENTRIES = 1000 |
const | SEARCH_TYPE_LIKE = 1 |
const | SEARCH_TYPE_EQUALS = 2 |
const | PRIVACY_MODE_RESPECT_USER_SETTING = 1 |
const | PRIVACY_MODE_IGNORE_USER_SETTING = 2 |
Protected Member Functions | |
getFields () | |
Get searchable fields. | |
getSelectPart () | |
getOrderByPart () |
Private Attributes | |
$searchable_check = false | |
$user_access_check = true | |
$possible_fields = array() | |
$result_field | |
$search_type | |
$privacy_mode | |
$user | |
$limit = 0 | |
$more_link_available = false |
Auto completion class for user lists.
Definition at line 7 of file class.ilUserAutoComplete.php.
ilUserAutoComplete::__construct | ( | ) |
Default constructor.
Definition at line 78 of file class.ilUserAutoComplete.php.
References setPrivacyMode(), and setSearchType().
ilUserAutoComplete::enableFieldSearchableCheck | ( | $a_status | ) |
Enable the check whether the field is searchable in Administration -> Settings -> Standard Fields.
bool | $a_status |
Definition at line 148 of file class.ilUserAutoComplete.php.
ilUserAutoComplete::enableUserAccessCheck | ( | $a_status | ) |
Enable user access check.
bool | $a_status |
Definition at line 167 of file class.ilUserAutoComplete.php.
|
protected |
Get searchable fields.
Definition at line 203 of file class.ilUserAutoComplete.php.
References ilUserSearchOptions\_isEnabled(), getSearchFields(), and isFieldSearchableCheckEnabled().
ilUserAutoComplete::getLimit | ( | ) |
Definition at line 91 of file class.ilUserAutoComplete.php.
References $limit.
|
protected |
ilUserAutoComplete::getPrivacyMode | ( | ) |
Definition at line 123 of file class.ilUserAutoComplete.php.
References $privacy_mode.
Referenced by getSelectPart().
ilUserAutoComplete::getSearchFields | ( | ) |
get possible search fields
Definition at line 194 of file class.ilUserAutoComplete.php.
References $possible_fields.
Referenced by getFields().
ilUserAutoComplete::getSearchType | ( | ) |
|
protected |
Definition at line 305 of file class.ilUserAutoComplete.php.
References getPrivacyMode().
ilUserAutoComplete::getUser | ( | ) |
ilUserAutoComplete::isFieldSearchableCheckEnabled | ( | ) |
Searchable check enabled.
Definition at line 157 of file class.ilUserAutoComplete.php.
References $searchable_check.
Referenced by getFields().
ilUserAutoComplete::isMoreLinkAvailable | ( | ) |
Definition at line 487 of file class.ilUserAutoComplete.php.
References $more_link_available.
ilUserAutoComplete::isUserAccessCheckEnabled | ( | ) |
Check if user access check is enabled.
Definition at line 176 of file class.ilUserAutoComplete.php.
References $user_access_check.
ilUserAutoComplete::setLimit | ( | $a_limit | ) |
Definition at line 86 of file class.ilUserAutoComplete.php.
ilUserAutoComplete::setMoreLinkAvailable | ( | $more_link_available | ) |
IMPORTANT: remember to read request parameter 'fetchall' to use this function.
boolean | $more_link_available |
Definition at line 497 of file class.ilUserAutoComplete.php.
References $more_link_available.
ilUserAutoComplete::setPrivacyMode | ( | $privacy_mode | ) |
int | $privacy_mode |
Definition at line 115 of file class.ilUserAutoComplete.php.
References $privacy_mode.
Referenced by __construct().
ilUserAutoComplete::setResultField | ( | $a_field | ) |
Set result field.
string | $a_field |
Definition at line 225 of file class.ilUserAutoComplete.php.
ilUserAutoComplete::setSearchFields | ( | $a_fields | ) |
Set searchable fields.
array | $a_fields |
Definition at line 185 of file class.ilUserAutoComplete.php.
ilUserAutoComplete::setSearchType | ( | $search_type | ) |
int | $search_type |
Definition at line 99 of file class.ilUserAutoComplete.php.
References $search_type.
Referenced by __construct().
ilUserAutoComplete::setUser | ( | $user | ) |
ilObjUser | $user |
Definition at line 131 of file class.ilUserAutoComplete.php.
References $user.
|
private |
Definition at line 68 of file class.ilUserAutoComplete.php.
Referenced by getLimit().
|
private |
Definition at line 73 of file class.ilUserAutoComplete.php.
Referenced by isMoreLinkAvailable(), and setMoreLinkAvailable().
|
private |
Definition at line 45 of file class.ilUserAutoComplete.php.
Referenced by getSearchFields().
|
private |
Definition at line 60 of file class.ilUserAutoComplete.php.
Referenced by getPrivacyMode(), and setPrivacyMode().
|
private |
Definition at line 50 of file class.ilUserAutoComplete.php.
|
private |
Definition at line 55 of file class.ilUserAutoComplete.php.
Referenced by getSearchType(), and setSearchType().
|
private |
Definition at line 35 of file class.ilUserAutoComplete.php.
Referenced by isFieldSearchableCheckEnabled().
|
private |
Definition at line 65 of file class.ilUserAutoComplete.php.
|
private |
Definition at line 40 of file class.ilUserAutoComplete.php.
Referenced by isUserAccessCheckEnabled().
const ilUserAutoComplete::MAX_ENTRIES = 1000 |
Definition at line 9 of file class.ilUserAutoComplete.php.
Referenced by ilLocalUserGUI\addUserAutoCompleteObject(), ilObjUserFolderGUI\addUserAutoCompleteObject(), ilObjCategoryGUI\addUserAutoCompleteObject(), ilObjSurveyGUI\doAutoCompleteObject(), ilRepositorySearchGUI\doUserAutoComplete(), and ilCalendarAppointmentGUI\doUserAutoComplete().
const ilUserAutoComplete::PRIVACY_MODE_IGNORE_USER_SETTING = 2 |
Definition at line 30 of file class.ilUserAutoComplete.php.
const ilUserAutoComplete::PRIVACY_MODE_RESPECT_USER_SETTING = 1 |
Definition at line 25 of file class.ilUserAutoComplete.php.
const ilUserAutoComplete::SEARCH_TYPE_EQUALS = 2 |
Definition at line 20 of file class.ilUserAutoComplete.php.
const ilUserAutoComplete::SEARCH_TYPE_LIKE = 1 |
Definition at line 15 of file class.ilUserAutoComplete.php.