You are here

Functions in Flag 5

Primary tabs

Namesort descending Location Description Direct uses Strings
flag_get_content_flags ./flag.module Return a list of users who have flagged a piece of content.
flag_get_counts ./flag.module Get flag counts for all flags on a node. 2
flag_get_default_flags ./flag.module Retrieve a list of flags defined by modules. 3
flag_get_flag ./flag.module Load a single flag either by name or by flag ID. 19
flag_get_flags ./flag.module List all flags available. 15
flag_get_link_types ./flag.module Return an array of link types provided by modules. 2
flag_get_token ./flag.module Get a private token used to protect links from spoofing - CSRF. 1
flag_get_types ./flag.inc Returns all flag types defined on the system. 2
flag_get_user_flags ./flag.module Find what a user has flagged, either a single node or on the entire site. 2
flag_hook_info includes/flag.actions.inc Implementation of hook_hook_info().
flag_init ./flag.module Implementation of hook_init().
flag_install ./flag.install Implementation of hook_install().
flag_link ./flag.module Implementation of hook_link().
flag_menu ./flag.module Implementation of hook_menu().
flag_nodeapi ./flag.module Implementation of hook_nodeapi().
flag_nodes ./flag.module Callback function for hook_node_operations(). 1
flag_node_operations ./flag.module Implementation of hook_node_operations().
flag_node_type ./flag.module Implementation of hook_node_type().
flag_page ./flag.module Menu callback for (un)flagging a node. 1
flag_perm ./flag.module Implementation of hook_perm().
flag_phptemplate_adapter ./flag.module In Drupal 5 it is possible to put a phptemplate_flag() function in your 'template.php', and within that function instructions to make Drupal scan for various template files for theming a flag.
flag_query_handler_ops includes/flag.views.inc This handler loads the type of the node so the display handler, above, can determine if the flag applies to it. 1
flag_requirements ./flag.install Implementation of hook_requirements().
flag_template_preprocess ./flag.module Call module flag preprocess functions for Drupal 5. 2
flag_token_get_list includes/flag.token.inc This is a replacement for Token's token_get_list(). 1
flag_token_list includes/flag.token.inc Implementation of hook_token_list().
flag_token_values includes/flag.token.inc Implementation of hook_token_values().
flag_uninstall ./flag.install Implementation of hook_uninstall(). 1
flag_update_5000 ./flag.install Delete obsolete actions provided by beta3.
flag_update_5001 ./flag.install Move flag messages and link titles into the options array.
flag_update_5002 ./flag.install Add a 'serial' primary key, fcid, to the flag_content table.
flag_update_5003 ./flag.install Remove the previous default views that are no longer bundled with Flag.
flag_user ./flag.module Implementation of hook_user(). 1
flag_views_arguments includes/flag.views.inc Give an argument handler to limit nodes to those flagged by a uid.
flag_views_bookmark_update includes/flag.views_bookmark.inc Perform all pieces of the update. 1
flag_views_bookmark_update_1 includes/flag.views_bookmark.inc Replace keys with primary keys.
flag_views_bookmark_update_2 includes/flag.views_bookmark.inc
flag_views_bookmark_update_3 includes/flag.views_bookmark.inc
flag_views_bookmark_update_4 includes/flag.views_bookmark.inc
flag_views_bookmark_update_5 includes/flag.views_bookmark.inc
flag_views_bookmark_update_5100 includes/flag.views_bookmark.inc
flag_views_bookmark_update_5101 includes/flag.views_bookmark.inc Update all views that use the 'views_bookmark_nodes_N.uid' field to use the 'views_bookmark_users_N.name' one. See http://drupal.org/node/211112
flag_views_bookmark_update_5102 includes/flag.views_bookmark.inc Handle issues http://drupal.org/node/218766 and http://drupal.org/node/219146
flag_views_bookmark_update_6 includes/flag.views_bookmark.inc Add columns for configurable messages.
flag_views_bookmark_update_7 includes/flag.views_bookmark.inc Add the current user filter to every view using flag filters. Previously this was implied with all filters, now it is optional to increase the flexibility of flag.
flag_views_bookmark_update_needed includes/flag.views_bookmark.inc Determine if Views Bookmark needs to be updated. 1
flag_views_bookmark_update_prepare includes/flag.views_bookmark.inc Prepare for the Views Bookmark to Flag migration. 1
flag_views_bookmark_update_tables includes/flag.views_bookmark.inc Update Views Bookmark to the Flag schema. 1
flag_views_bookmark_update_uninstall includes/flag.views_bookmark.inc Finishing tasks. 1
flag_views_bookmark_update_views includes/flag.views_bookmark.inc 1

Pages

Other projects