You are here

function flag_flag::get_link_type in Flag 6.2

Same name and namespace in other branches
  1. 7.3 includes/flag/flag_flag.inc \flag_flag::get_link_type()
  2. 7.2 flag.inc \flag_flag::get_link_type()

Get the link type for this flag.

1 call to flag_flag::get_link_type()
flag_flag::options in ./flag.inc
Declares the options this flag supports, and their default values.

File

./flag.inc, line 900
Implements various flags. Uses 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 get_link_type() {
  $link_types = flag_get_link_types();
  return isset($this->link_type) && isset($link_types[$this->link_type]) ? $link_types[$this->link_type] : $link_types['normal'];
}