You are here

function flag_node::_load_content in Flag 6

Same name and namespace in other branches
  1. 5 flag.inc \flag_node::_load_content()
  2. 6.2 flag.inc \flag_node::_load_content()

File

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

Class

flag_node
Implements a node flag.

Code

function _load_content($content_id) {
  return is_numeric($content_id) ? node_load($content_id) : NULL;
}