You are here

function dlike_get_users in Drupal like (Flag counter) 7.3

Same name and namespace in other branches
  1. 7 dlike.inc \dlike_get_users()
  2. 7.2 dlike.inc \dlike_get_users()

Get data of all the users who flagged a content.

File

./dlike.inc, line 13
This file 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);
}