ILIAS
eassessment Revision 61809
|
user filter More...
Public Member Functions | |
ilUserFilter ($a_usr_id) | |
enableField ($key) | |
disableField ($key) | |
enableMemberFilter ($a_status) | |
setPossibleUsers ($a_users) | |
getLimit () | |
limitReached () | |
getUserId () | |
storeQueryStrings ($a_strings) | |
getQueryString ($a_field) | |
getUsers () | |
__searchObjects () | |
& | __parseQueryString ($a_string) |
parse query string, using query parser instance | |
__storeEntries (&$new_res) | |
__toArray ($entries) | |
memberFilter ($a_usr_id, $entry_data) | |
filter ($a_user_ids) | |
Filter user accounts. | |
getFolderIds () | |
Get accessible user folder (cat and usrf) ids. |
Static Public Member Functions | |
static | getInstance () |
Singelton get instance. |
Data Fields | |
$limit = 0 | |
$limit_reached = false | |
$search_fields | |
$enabled_member_filter = false | |
$possible_users = array() | |
$usr_id = null | |
$db = null |
Protected Member Functions | |
__construct () | |
Singleton constructor. |
Private Member Functions | |
init () | |
Init. |
Private Attributes | |
$settings = null | |
$folder_ids = array() |
Static Private Attributes | |
static | $instance = null |
|
protected |
Singleton constructor.
Definition at line 29 of file class.ilUserFilter.php.
References init().
& ilUserFilter::__parseQueryString | ( | $a_string | ) |
parse query string, using query parser instance
Definition at line 188 of file class.ilUserFilter.php.
References QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __searchObjects().
ilUserFilter::__searchObjects | ( | ) |
Definition at line 142 of file class.ilUserFilter.php.
References $_SESSION, __parseQueryString(), __storeEntries(), __toArray(), ilObjectSearchFactory\_getUserSearchInstance(), QP_COMBINATION_OR, and ilUtil\sendInfo().
Referenced by getUsers().
ilUserFilter::__storeEntries | ( | & | $new_res | ) |
Definition at line 205 of file class.ilUserFilter.php.
Referenced by __searchObjects().
ilUserFilter::__toArray | ( | $entries | ) |
Definition at line 220 of file class.ilUserFilter.php.
Referenced by __searchObjects().
ilUserFilter::disableField | ( | $key | ) |
Definition at line 75 of file class.ilUserFilter.php.
ilUserFilter::enableField | ( | $key | ) |
Definition at line 71 of file class.ilUserFilter.php.
ilUserFilter::enableMemberFilter | ( | $a_status | ) |
Definition at line 79 of file class.ilUserFilter.php.
ilUserFilter::filter | ( | $a_user_ids | ) |
Filter user accounts.
Definition at line 51 of file class.ilUserFilter.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_ASSOC, and ilUserAccountSettings\getInstance().
ilUserFilter::getFolderIds | ( | ) |
Get accessible user folder (cat and usrf) ids.
Definition at line 77 of file class.ilUserFilter.php.
References $folder_ids.
|
static |
Singelton get instance.
Definition at line 38 of file class.ilUserFilter.php.
References $instance, and ilUserFilter().
Referenced by ilObjUser\_getUsersOnline(), ilUserAutoComplete\getList(), ilRepositorySearchGUI\performSearch(), and ilMailSearchGUI\showResults().
ilUserFilter::getLimit | ( | ) |
ilUserFilter::getQueryString | ( | $a_field | ) |
Definition at line 110 of file class.ilUserFilter.php.
References $_SESSION.
ilUserFilter::getUserId | ( | ) |
Definition at line 100 of file class.ilUserFilter.php.
References $usr_id.
ilUserFilter::getUsers | ( | ) |
Definition at line 116 of file class.ilUserFilter.php.
References $_SESSION, $possible_users, and __searchObjects().
ilUserFilter::ilUserFilter | ( | $a_usr_id | ) |
Definition at line 58 of file class.ilUserFilter.php.
References $ilDB.
Referenced by getInstance().
|
private |
Init.
Definition at line 86 of file class.ilUserFilter.php.
References ilLocalUser\_getFolderIds(), and ilUserAccountSettings\getInstance().
Referenced by __construct().
ilUserFilter::limitReached | ( | ) |
Definition at line 95 of file class.ilUserFilter.php.
References $limit_reached.
ilUserFilter::memberFilter | ( | $a_usr_id, | |
$entry_data | |||
) |
Definition at line 229 of file class.ilUserFilter.php.
ilUserFilter::setPossibleUsers | ( | $a_users | ) |
Definition at line 84 of file class.ilUserFilter.php.
ilUserFilter::storeQueryStrings | ( | $a_strings | ) |
Definition at line 105 of file class.ilUserFilter.php.
References $_SESSION.
ilUserFilter::$db = null |
Definition at line 56 of file class.ilUserFilter.php.
ilUserFilter::$enabled_member_filter = false |
Definition at line 50 of file class.ilUserFilter.php.
|
private |
Definition at line 22 of file class.ilUserFilter.php.
Referenced by getFolderIds().
|
staticprivate |
Definition at line 18 of file class.ilUserFilter.php.
Referenced by getInstance().
ilUserFilter::$limit = 0 |
Definition at line 42 of file class.ilUserFilter.php.
Referenced by getLimit().
ilUserFilter::$limit_reached = false |
Definition at line 43 of file class.ilUserFilter.php.
Referenced by limitReached().
ilUserFilter::$possible_users = array() |
Definition at line 51 of file class.ilUserFilter.php.
Referenced by getUsers().
ilUserFilter::$search_fields |
Definition at line 46 of file class.ilUserFilter.php.
|
private |
Definition at line 20 of file class.ilUserFilter.php.
ilUserFilter::$usr_id = null |
Definition at line 55 of file class.ilUserFilter.php.
Referenced by getUserId().