You are here

Functions in User Badges 7

Primary tabs

Namesort descending Location Description Direct uses Strings
hook_user_badges_delete ./user_badges.api.php Allows to modules to react to the deletion of a user_badge. This is invoked before the badge is deleted.
hook_user_badges_edit_badge ./user_badges.api.php Allows to modules to react to the editing or adding of a user_badge. This is invoked before the badge is added. The called function may alter the form values.
theme_user_badge ./user_badges.module Return html representation of a badge image (note: theme_image does the check_plaining)
theme_user_badges_badgelist_form ./user_badges.admin.inc Theme the badge list form.
theme_user_badges_userweight_form ./user_badges.module Form theming function
theme_user_badge_group ./user_badges.module Return html representation of a group of badges $badgeimages is an array of badge image tags from theme_user_badge()
user_badges_action_info ./user_badges.actions.inc Implements hook_action_info().
user_badges_add_badge_action ./user_badges.actions.inc Implementsa Drupal action. Adds a badge to the current user.
user_badges_add_badge_action_form ./user_badges.actions.inc @todo Please document this function.
user_badges_add_badge_action_submit ./user_badges.actions.inc Submit handler for user_badges_add_badge_action.
user_badges_badgelist_form ./user_badges.admin.inc Form builder; list of badges 1
user_badges_badgelist_form_submit ./user_badges.admin.inc Process user_badges_badgelist_form form submissions.
user_badges_badgelist_form_validate ./user_badges.admin.inc Validate user_badges_badgelist_form form submissions.
user_badges_badge_autocomplete ./user_badges.module Menu callback; Retrieve a JSON object containing autocomplete suggestions for badges 1
user_badges_badge_autocomplete_validation ./user_badges.module Validates submissions for textfields that use user_badges_badge_autocomplete strings 3
user_badges_block_configure ./user_badges.module Implements hook_block_configure().
user_badges_block_info ./user_badges.module Implements hook_block_info().
user_badges_block_save ./user_badges.module Implements hook_block_save().
user_badges_block_view ./user_badges.module Implements hook_block_view().
user_badges_change_form ./user_badges.module Form to change badges of a user 1
user_badges_change_form_submit ./user_badges.module Process user_badges_change_form form submissions.
user_badges_change_form_validate ./user_badges.module Validate user_badges_remove_form form submissions.
user_badges_cron ./user_badges.autoassignrole.inc Implements hook_cron(). Enables User Badges to work along with Auto Assign Role. Notes: - this is a quite fast solution in order to solve Auto Assign Role issue.
user_badges_delete_badge ./user_badges.api.php Deletes a user_badge from all the tables. It is the caller's responsibilty to let the user know this has been done. The caller must have 'manage badges' permission.
user_badges_delete_form ./user_badges.admin.inc User badge deletion form. 1
user_badges_delete_form_submit ./user_badges.admin.inc Submit handler for user badge deletion.
user_badges_edit_form ./user_badges.admin.inc Define the edit form for userbadges. 1
user_badges_edit_form_submit ./user_badges.admin.inc Process user_badges_edit_form form submissions.
user_badges_edit_form_validate ./user_badges.admin.inc Validate user_badges_edit_form form submissions.
user_badges_field_extra_fields_alter ./user_badges.module Implements hook_field_extra_fields().
user_badges_for_uid ./user_badges.module Returns HTML representation of user badges for given uid 1
user_badges_for_user ./user_badges.module Get all user badges for a user. 1
user_badges_get_badges ./user_badges.module Return array of user badges where keys are badge ids (bid) and values are object containing badge info. 11
user_badges_get_roles ./user_badges.module Returns an array where keys are role ids (rid) and values are the badge ids (bid) associated with that role These values are assigned on admin/people/user_badges/roles 4
user_badges_get_term_from_vid ./user_badges.admin.inc Get terms belonging to a vocabulary. Can be used in the form's #options field. 1
user_badges_help ./user_badges.module Implements hook_help().
user_badges_images_form ./user_badges.admin.inc Form to upload the badge images or to delete existing ones. 1
user_badges_images_form_submit ./user_badges.admin.inc Submission action for user_badges_images_form
user_badges_init ./user_badges.module Implements hook_init(). Include code that is only needed if other modules are present.
user_badges_menu ./user_badges.module Implements hook_menu().
user_badges_page ./user_badges.module Define the page on user/uid/badges/edit and user/%user/edit/badges. 1
user_badges_permission ./user_badges.module Implements hook_permission().
user_badges_preprocess_node ./user_badges.module Implements hook_preprocess_node().
user_badges_remove_badge_action ./user_badges.actions.inc Implementsa Drupal action. Removes a badge to the current user.
user_badges_remove_badge_action_form ./user_badges.actions.inc @todo Please document this function.
user_badges_remove_badge_action_submit ./user_badges.actions.inc @todo Please document this function.
user_badges_roles_form ./user_badges.admin.inc Form to associated badges with roles. 1
user_badges_roles_form_submit ./user_badges.admin.inc Submission function for user_badges_roles_form.
user_badges_roles_form_validate ./user_badges.admin.inc Validation function for user_badges_roles_form.
user_badges_save_roles ./user_badges.module Save information about roles for user_badges (in settings) 2

Pages

Other projects