You are here

property flag_flag::$roles in Flag 7.3

Same name and namespace in other branches
  1. 5 flag.inc \flag_flag::roles
  2. 6 flag.inc \flag_flag::roles

The roles array. This can be populated by fetch_roles() when needed.

File

includes/flag/flag_flag.inc, line 92
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

var $roles = array(
  'flag' => array(),
  'unflag' => array(),
);