You are here

function flag_comment::get_content_id in Flag 6

Same name and namespace in other branches
  1. 5 flag.inc \flag_comment::get_content_id()
  2. 6.2 flag.inc \flag_comment::get_content_id()
  3. 7.2 flag.inc \flag_comment::get_content_id()

File

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

Class

flag_comment
Implements a comment flag.

Code

function get_content_id($comment) {
  return $comment->cid;
}