function dlike_get_users in Drupal like (Flag counter) 7.2
Same name and namespace in other branches
- 7.3 dlike.inc \dlike_get_users()
- 7 dlike.inc \dlike_get_users()
Get data of all the users who flagged a content.
1 call to dlike_get_users()
- dlike_user_list in ./
dlike.inc - Get list of names of all the users who flagged particular content.
File
- ./
dlike.inc, line 13 - This files contains all the include functions.
Code
function dlike_get_users($flag_type, $content_id, $flag_name) {
$user_data = flag_get_content_flags($flag_type, $content_id, $flag_name);
return array_keys($user_data);
}