You are here

function flag_user::uses_hook_link in Flag 5

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

File

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