You are here

function _flag_url in Flag 5

Same name and namespace in other branches
  1. 6.2 flag.inc \_flag_url()
  2. 6 flag.inc \_flag_url()
  3. 7.2 flag.inc \_flag_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 1228
Implements various flags. Uses object oriented style inspired by that of Views 2.

Code

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