| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Auto completion class for user lists. More...
 Collaboration diagram for ilUserAutoComplete:
 Collaboration diagram for ilUserAutoComplete:| Public Member Functions | |
| __construct () | |
| Default constructor. | |
| 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. | |
| Data Fields | |
| 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 | |
Auto completion class for user lists.
Definition at line 7 of file class.ilUserAutoComplete.php.
| ilUserAutoComplete::__construct | ( | ) | 
Default constructor.
Definition at line 67 of file class.ilUserAutoComplete.php.
References setPrivacyMode(), and setSearchType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserAutoComplete::enableFieldSearchableCheck | ( | $a_status | ) | 
Enable the check whether the field is searchable in Administration -> Settings -> Standard Fields.
| bool | $a_status | 
Definition at line 127 of file class.ilUserAutoComplete.php.
| ilUserAutoComplete::enableUserAccessCheck | ( | $a_status | ) | 
Enable user access check.
| bool | $a_status | 
Definition at line 146 of file class.ilUserAutoComplete.php.
| 
 | protected | 
Get searchable fields.
Definition at line 182 of file class.ilUserAutoComplete.php.
References ilUserSearchOptions\_isEnabled(), getSearchFields(), and isFieldSearchableCheckEnabled().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
| ilUserAutoComplete::getPrivacyMode | ( | ) | 
Definition at line 102 of file class.ilUserAutoComplete.php.
References $privacy_mode.
Referenced by getSelectPart().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserAutoComplete::getSearchFields | ( | ) | 
get possible search fields
Definition at line 173 of file class.ilUserAutoComplete.php.
References $possible_fields.
Referenced by getFields().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserAutoComplete::getSearchType | ( | ) | 
| 
 | protected | 
Definition at line 271 of file class.ilUserAutoComplete.php.
References getPrivacyMode().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserAutoComplete::getUser | ( | ) | 
| ilUserAutoComplete::isFieldSearchableCheckEnabled | ( | ) | 
Searchable check enabled.
Definition at line 136 of file class.ilUserAutoComplete.php.
References $searchable_check.
Referenced by getFields().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserAutoComplete::isUserAccessCheckEnabled | ( | ) | 
Check if user access check is enabled.
Definition at line 155 of file class.ilUserAutoComplete.php.
References $user_access_check.
| ilUserAutoComplete::setPrivacyMode | ( | $privacy_mode | ) | 
| int | $privacy_mode | 
Definition at line 94 of file class.ilUserAutoComplete.php.
References $privacy_mode.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserAutoComplete::setResultField | ( | $a_field | ) | 
Set result field.
| string | $a_field | 
Definition at line 204 of file class.ilUserAutoComplete.php.
| ilUserAutoComplete::setSearchFields | ( | $a_fields | ) | 
Set searchable fields.
| array | $a_fields | 
Definition at line 164 of file class.ilUserAutoComplete.php.
| ilUserAutoComplete::setSearchType | ( | $search_type | ) | 
| int | $search_type | 
Definition at line 78 of file class.ilUserAutoComplete.php.
References $search_type.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserAutoComplete::setUser | ( | $user | ) | 
| ilObjUser | $user | 
Definition at line 110 of file class.ilUserAutoComplete.php.
References $user.
| 
 | private | 
Definition at line 42 of file class.ilUserAutoComplete.php.
Referenced by getSearchFields().
| 
 | private | 
Definition at line 57 of file class.ilUserAutoComplete.php.
Referenced by getPrivacyMode(), and setPrivacyMode().
| 
 | private | 
Definition at line 47 of file class.ilUserAutoComplete.php.
| 
 | private | 
Definition at line 52 of file class.ilUserAutoComplete.php.
Referenced by getSearchType(), and setSearchType().
| 
 | private | 
Definition at line 32 of file class.ilUserAutoComplete.php.
Referenced by isFieldSearchableCheckEnabled().
| 
 | private | 
Definition at line 62 of file class.ilUserAutoComplete.php.
| 
 | private | 
Definition at line 37 of file class.ilUserAutoComplete.php.
Referenced by isUserAccessCheckEnabled().
| const ilUserAutoComplete::PRIVACY_MODE_IGNORE_USER_SETTING = 2 | 
Definition at line 27 of file class.ilUserAutoComplete.php.
| const ilUserAutoComplete::PRIVACY_MODE_RESPECT_USER_SETTING = 1 | 
Definition at line 22 of file class.ilUserAutoComplete.php.
| const ilUserAutoComplete::SEARCH_TYPE_EQUALS = 2 | 
Definition at line 17 of file class.ilUserAutoComplete.php.
| const ilUserAutoComplete::SEARCH_TYPE_LIKE = 1 | 
Definition at line 12 of file class.ilUserAutoComplete.php.