You are here

function _flag_url in Flag 7.2

Same name and namespace in other branches
  1. 5 flag.inc \_flag_url()
  2. 6.2 flag.inc \_flag_url()
  3. 6 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
Returns a 'flag action' object.
flag_entity::get_flag_action in ./flag.inc
Returns a 'flag action' object.
flag_user::get_flag_action in ./flag.inc
Returns a 'flag action' object.

File

./flag.inc, line 1858
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,
  ));
}