You are here

Functions in Reviews 7

Primary tabs

Namesort descending Location Description Direct uses Strings
reviews_add_review includes/reviews.pages.inc Form builder for add review page. 1
reviews_add_review_submit includes/reviews.pages.inc Submit handler for reviews_add_review form.
reviews_approve_review includes/reviews.admin.inc Function for menu callback to approve a review. 1
reviews_block_info ./reviews.module Implements hook_block_info().
reviews_block_view ./reviews.module Implements hook_block_view().
reviews_cache_clear includes/reviews.admin.inc Additional submit handler to rebuild menu after saving reviews settings. 1
reviews_check_user_review includes/reviews.api.inc Check previous reviews. 3
reviews_create_alias ./reviews.module Helper function to create the alias.
reviews_edit_review includes/reviews.pages.inc Form builder for edit review page. 1
reviews_edit_review_submit includes/reviews.pages.inc Submit handler for reviews_edit_review form.
reviews_enabled_load ./reviews.module Menu callback. Returns FALSE if content type does not allow reviews, otherwise returns the srgument passed from the URL.
reviews_get_my_reviews_block ./reviews.module Helper function to return content for My Reviews block. 1
reviews_get_nid_from_rid includes/reviews.api.inc Helper function to return the nid from the reviews ID. 2
reviews_get_node_title includes/reviews.api.inc Helper function to return a node title from a node ID. 2
reviews_get_node_types includes/reviews.api.inc Helper function to return an array of available content types. 1
reviews_get_reviews includes/reviews.pages.inc Gather reviews for current displayed node and pass to theming function. 1
reviews_get_reviews_block ./reviews.module Helper function to return content for Reviews block. 1
reviews_get_review_status includes/reviews.api.inc Helper function to return the review status name form the ID. 1
reviews_get_title includes/reviews.api.inc Title callback function. 1
reviews_get_username includes/reviews.api.inc Helper function to return a username from a user ID. 4
reviews_has_edit_permission ./reviews.module Callback function to check if user is logged in and has edit review permissions. 1
reviews_install ./reviews.install Implements hook_install().
reviews_list includes/reviews.admin.inc Form builder for reviews moderation. 1
reviews_list_confirm_delete includes/reviews.admin.inc Confirm handler for the reviews_list form. 1
reviews_list_confirm_delete_submit includes/reviews.admin.inc This function deletes the selected reviews. 1
reviews_list_submit includes/reviews.admin.inc Confirm handler for review_list form.
reviews_load includes/reviews.api.inc Helper function to load a review into an object. 1
reviews_menu ./reviews.module Implements hook_menu().
reviews_moderation includes/reviews.admin.inc Form builder for reviews moderation. 1
reviews_node_view ./reviews.module Implements hook_node_view().
reviews_notify_admin includes/reviews.pages.inc Send email to site wide email address when new review is left. 1 1
reviews_pathauto ./reviews.module Implements hook_pathauto.
reviews_permission ./reviews.module Implements hook_permission().
reviews_reviews_count includes/reviews.api.inc Get review count. 2
reviews_reviews_enabled includes/reviews.api.inc Helper function return TRUE or FALSE based on whether reviews are enabled. 2
reviews_reviews_pending_count includes/reviews.api.inc Helper function to return the number of pending reviews for the current node. 1
reviews_schema ./reviews.install Implements hook_schema().
reviews_settings includes/reviews.admin.inc Form builder for the main settings page. 1
reviews_set_block_content_types includes/reviews.admin.inc Additional submit handler for setting forms. 1
reviews_theme ./reviews.module Implements hook_theme().
reviews_uninstall ./reviews.install Implements hook_uninstall().
reviews_update_7001 ./reviews.install Add the reviews_count table to the database 1
reviews_update_7002 ./reviews.install Add the ratings field to the reviews table
reviews_update_review_count_for_node includes/reviews.api.inc Helper function to update the review count table for a node. 4
reviews_user_reviewed_load ./reviews.module Menu callback. Returns the argument passed form the URL if content type allows reviews and reviews are enabled globally and the current user has not already reviewed the node. 1
reviews_views_api ./reviews.module Implements hook_views_api().
reviews_views_data views/reviews.views.inc Implements hook_views_data().
reviews_views_handlers views/reviews.views.inc Implements hook_views_handlers().

Other projects