You are here

function flag_flag::type_access in Flag 7.2

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

Implements access() implemented by each child class.

@abstract

Return value

FALSE if access should be denied, or NULL if there is no restriction to be made. This should NOT return TRUE.

1 call to flag_flag::type_access()
flag_flag::access in ./flag.inc
Determines whether the user may flag, or unflag, the given content.

File

./flag.inc, line 591
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 type_access($content_id, $action, $account) {
  return NULL;
}