You are here

function flag_flag::_flag_url in Flag 7.3

A shortcut function to output the link URL.

3 calls to flag_flag::_flag_url()
flag_comment::get_flag_action in includes/flag/flag_comment.inc
Returns a 'flag action' object.
flag_entity::get_flag_action in includes/flag/flag_entity.inc
Returns a 'flag action' object.
flag_user::get_flag_action in includes/flag/flag_user.inc
Returns a 'flag action' object.

File

includes/flag/flag_flag.inc, line 1611
Contains the flag_flag class. Flag type classes use an object oriented style inspired by that of Views 2.

Class

flag_flag
This abstract class represents a flag, or, in Views 2 terminology, "a handler".

Code

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