You are here

function flag_user::get_content_id in Flag 5

Same name and namespace in other branches
  1. 6.2 flag.inc \flag_user::get_content_id()
  2. 6 flag.inc \flag_user::get_content_id()

File

./flag.inc, line 1131
Implements various flags. Uses object oriented style inspired by that of Views 2.

Class

flag_user
Implements a user flag.

Code

function get_content_id($user) {
  return $user->uid;
}