function flag_flag::applies_to_content_object in Flag 5
Same name and namespace in other branches
- 6.2 flag.inc \flag_flag::applies_to_content_object()
 - 6 flag.inc \flag_flag::applies_to_content_object()
 - 7.2 flag.inc \flag_flag::applies_to_content_object()
 
Returns TRUE if the flag applies to the given content. Derived classes must implement this.
@abstract
1 call to flag_flag::applies_to_content_object()
- flag_flag::applies_to_content_id in ./
flag.inc  - Returns TRUE if the flag applies to the content with the given ID.
 
File
- ./
flag.inc, line 300  - 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 applies_to_content_object($content) {
  return FALSE;
}