You are here

function flag_user::uses_hook_link in Flag 6.2

Same name and namespace in other branches
  1. 5 flag.inc \flag_user::uses_hook_link()
  2. 6 flag.inc \flag_user::uses_hook_link()

File

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

Class

flag_user
Implements a user flag.

Code

function uses_hook_link($teaser) {
  if ($this->show_on_profile) {
    return TRUE;
  }
  return FALSE;
}