You are here

abstract function FlagCookieStorage::flag in Flag 7.3

Same name and namespace in other branches
  1. 6.2 flag.inc \FlagCookieStorage::flag()
  2. 7.2 flag.inc \FlagCookieStorage::flag()

"Flags" an item.

It just records this fact in a cookie.

2 methods override FlagCookieStorage::flag()
FlagGlobalCookieStorage::flag in includes/flag.cookie_storage.inc
"Flags" an item.
FlagNonGlobalCookieStorage::flag in includes/flag.cookie_storage.inc
"Flags" an item.

File

includes/flag.cookie_storage.inc, line 45
Contains the FlagCookieStorage class.

Class

FlagCookieStorage
Utility class to handle cookies.

Code

abstract function flag($entity_id);