theme_user_badge |
./user_badges.module |
Return html representation of a badge image
(note: theme_image does the check_plaining) |
|
|
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_delete_form |
./user_badges.module |
|
|
1 |
user_badges_delete_form_submit |
./user_badges.module |
|
|
|
user_badges_ecommerceapi |
./user_badges.module |
|
|
|
user_badges_edit_form |
./user_badges.module |
Define the edit form for userbadges. |
|
1 |
user_badges_edit_form_submit |
./user_badges.module |
|
|
|
user_badges_for_uid |
./user_badges.module |
Returns HTML representation of user badges for given uid |
|
|
user_badges_for_user |
./user_badges.module |
Returns HTML representation of user badges for given user
$array is array defining criteria for user_load()
most common use will be:
user_badges_for_user(array('uid'=>123)); |
|
|
user_badges_get_badge |
./user_badges.module |
Return badge object for given badge id |
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
if $uid is a user id, returns badges for that user
if $uid is 'all', returns all badges
if $uid is 'select', returns badges for… |
7 |
|
user_badges_get_products |
./user_badges.module |
Get list of products that have badges
keys are node ids (nid)
values are badge ids (bid) |
2 |
|
user_badges_get_product_list |
./user_badges.module |
Get list of all ecommerce products |
1 |
|
user_badges_get_roles |
./user_badges.module |
Returns an array where keys are role ids (rid) and values are badge ids (bid)
These values are assigned on admin/user/user_badges/roles |
2 |
|
user_badges_get_sku |
./user_badges.module |
|
|
|
user_badges_help |
./user_badges.module |
Implementation of hook_help(). |
|
|
user_badges_images_form |
./user_badges.module |
Define a form to upload the badge images. |
|
1 |
user_badges_images_form_submit |
./user_badges.module |
|
|
|
user_badges_images_form_validate |
./user_badges.module |
Validate the submission. |
|
|
user_badges_image_delete |
./user_badges.module |
|
1 |
|
user_badges_image_selects |
./user_badges.module |
|
2 |
|
user_badges_install |
./user_badges.install |
Implementation of hook_install() |
|
|
user_badges_menu |
./user_badges.module |
Implementation of hook_menu(). |
|
|
user_badges_page |
./user_badges.module |
Define the page on user/uid/badges. |
|
1 |
user_badges_page_form |
./user_badges.module |
Form to assign badges to users. |
|
1 |
user_badges_page_form_submit |
./user_badges.module |
|
|
|
user_badges_perm |
./user_badges.module |
Implementation of hook_perm(). |
|
|
user_badges_products_page |
./user_badges.module |
|
|
1 |
user_badges_products_page_submit |
./user_badges.module |
|
|
|
user_badges_roles_form |
./user_badges.module |
|
|
1 |
user_badges_roles_form_submit |
./user_badges.module |
|
|
|
user_badges_save_badge |
./user_badges.module |
Saves information about a badge into the database |
1 |
|
user_badges_save_products |
./user_badges.module |
|
1 |
|
user_badges_save_roles |
./user_badges.module |
Save information about roles for user_badges (in settings) |
1 |
|
user_badges_settings_form |
./user_badges.module |
|
|
1 |
user_badges_settings_form_submit |
./user_badges.module |
|
|
|
user_badges_settings_page |
./user_badges.module |
|
|
1 |
user_badges_uninstall |
./user_badges.install |
Implementation of hook_uninstall() |
|
|
user_badges_update_1 |
./user_badges.install |
Implementation of hook_update_N()
new DB structure |
|
|
user_badges_update_2 |
./user_badges.install |
Implementation of hook_update_N()
add primary key |
|
|
user_badges_user |
./user_badges.module |
Implementation of hook_user()
This handles assignment of badges based on role.
When role is assigned or removed, appropriate badges are added or removed. |
|
|
user_badges_user_add_badge |
./user_badges.module |
Add a badge to user. |
2 |
|
user_badges_user_remove_badge |
./user_badges.module |
remove a badge from user. |
2 |
|
user_badges_user_save |
./user_badges.module |
Assign user badges to a user |
1 |
|