You are here

function _flag_url in Flag 6.2

Same name and namespace in other branches
  1. 5 flag.inc \_flag_url()
  2. 6 flag.inc \_flag_url()
  3. 7.2 flag.inc \_flag_url()

A shortcut function to output the link URL.

3 calls to _flag_url()
flag_comment::get_flag_action in ./flag.inc
flag_node::get_flag_action in ./flag.inc
flag_user::get_flag_action in ./flag.inc

File

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

Code

function _flag_url($path, $fragment = NULL, $absolute = TRUE) {
  return url($path, array(
    'fragment' => $fragment,
    'absolute' => $absolute,
  ));
}