You are here

function flag_flag::_load_content in Flag 5

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

Loads a content object this flag works with. Derived classes must implement this.

@abstract @private @static

1 call to flag_flag::_load_content()
flag_flag::fetch_content in ./flag.inc
Fetches, possibly from some cache, a content object this flag works with.

File

./flag.inc, line 278
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 _load_content($content_id) {
  return NULL;
}