You are here

protected function FlagGlobalCookieStorage::cookie_key in Flag 7.2

Same name and namespace in other branches
  1. 6.2 flag.inc \FlagGlobalCookieStorage::cookie_key()
  2. 7.3 includes/flag.cookie_storage.inc \FlagGlobalCookieStorage::cookie_key()
2 calls to FlagGlobalCookieStorage::cookie_key()
FlagGlobalCookieStorage::flag in ./flag.inc
"Flags" an item.
FlagGlobalCookieStorage::unflag in ./flag.inc
"Unflags" an item.

File

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

Class

FlagGlobalCookieStorage
Storage handler for global flags.

Code

protected function cookie_key($content_id) {
  return 'flag_global_' . $this->flag->name . '_' . $content_id;
}