function flag_node::flag in Flag 6.2
Same name and namespace in other branches
- 5 flag.inc \flag_node::flag()
- 6 flag.inc \flag_node::flag()
- 7.3 includes/flag/flag_node.inc \flag_node::flag()
- 7.2 flag.inc \flag_node::flag()
File
- ./
flag.inc, line 1375 - Implements various flags. Uses object oriented style inspired by that of Views 2.
Class
- flag_node
- Implements a node flag.
Code
function flag($action, $content_id, $account = NULL, $skip_permission_check = FALSE) {
$content_id = $this
->get_translation_id($content_id);
return parent::flag($action, $content_id, $account, $skip_permission_check);
}