flag.module
Version 1.11.2.78 (checked in on 2010/01/08 at 04:47:21 by quicksketch)
The Flag module.
Functions
| Name | Description |
|---|---|
| flag | Flags or unflags an item. |
| flag_access | Access checking to check an account for flagging ability. |
| flag_check_token | Check to see if a token value matches the specified node. |
| flag_confirm | Form for confirming the (un)flagging of a piece of content. |
| flag_confirm_submit | |
| flag_content_enabled | Content type checking to see if a flag applies to a certain type of data. |
| flag_content_extra_fields | Implementation of hook_content_extra_fields(). |
| flag_create_link | A utility function for outputting a flag link. |
| flag_flag | Implementation of hook_flag(). Trigger actions if any are available. |
| flag_flag_link | Implementation of hook_flag_link(). |
| flag_flag_link_types | Implementation of hook_flag_link_types(). |
| flag_form_alter | Implementation of hook_form_alter(). |
| flag_get_content_flags | Return a list of users who have flagged a piece of content. |
| flag_get_counts | Get flag counts for all flags on a node. |
| flag_get_default_flags | Retrieve a list of flags defined by modules. |
| flag_get_flag | Load a single flag either by name or by flag ID. |
| flag_get_flags | List all flags available. |
| flag_get_link_types | Return an array of link types provided by modules. |
| flag_get_token | Get a private token used to protect links from spoofing - CSRF. |
| flag_get_user_flags | Find what a user has flagged, either a single node or on the entire site. |
| flag_init | Implementation of hook_init(). |
| flag_link | Implementation of hook_link(). |
| flag_mail | Implementation of hook_mail(). |
| flag_menu | Implementation of hook_menu(). |
| flag_nodeapi | Implementation of hook_nodeapi(). |
| flag_nodes | Callback function for hook_node_operations(). |
| flag_node_operations | Implementation of hook_node_operations(). |
| flag_node_type | Implementation of hook_node_type(). |
| flag_page | Menu callback for (un)flagging a node. |
| flag_perm | Implementation of hook_perm(). |
| flag_theme | Implementation of hook_theme(). |
| flag_user | Implementation of hook_user(). |
| flag_views_api | Implementation of hook_views_api(). |
| template_preprocess_flag | A preprocess function for our theme('flag'). It generates the variables needed there. |
| _flag_format_plural | Format a string containing a count of items. |
| _flag_get_flag_names | Return an array of flag names keyed by fid. |
| _flag_link_type_options | Return an array of flag link types suitable for a select list or radios. |


