You are here

function flag_flag::get_content_id in Flag 6

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

Given a content object, returns its ID. Derived classes must implement this.

@abstract

File

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

Class

flag_flag
This abstract class represents a flag, or, in Views 2 terminology, "a handler".

Code

function get_content_id($content) {
  return NULL;
}