You are here

protected function FlagNonGlobalCookieStorage::is_flagged in Flag 6.2

Same name and namespace in other branches
  1. 7.3 includes/flag.cookie_storage.inc \FlagNonGlobalCookieStorage::is_flagged()
  2. 7.2 flag.inc \FlagNonGlobalCookieStorage::is_flagged()
1 call to FlagNonGlobalCookieStorage::is_flagged()
FlagNonGlobalCookieStorage::flag in ./flag.inc
"Flags" an item.

File

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

Class

FlagNonGlobalCookieStorage
Storage handler for non-global flags.

Code

protected function is_flagged($content_id) {
  return $this
    ->index_of($content_id) !== FALSE;
}