function spaces_casetracker_user_options in Spaces 5
Same name and namespace in other branches
- 5.2 spaces_casetracker/spaces_casetracker.module \spaces_casetracker_user_options()
Build option array of users in the current group
1 call to spaces_casetracker_user_options()
- spaces_casetracker_form_alter in spaces_casetracker/
spaces_casetracker.module - Implementation of hook_form_alter()
File
- spaces_casetracker/
spaces_casetracker.module, line 205
Code
function spaces_casetracker_user_options() {
$return = array();
$result = db_query(og_list_users_sql(0), spaces_gid());
while ($user = db_fetch_object($result)) {
$return[$user->uid] = $user->name;
}
return $return;
}