comment.module

Version 1.347.2.12 (checked in on 2006/10/18 at 20:14:08 by killes)

Enables users to comment on published content.

When enabled, the Drupal comment module creates a discussion board for each Drupal node. Users can post comments to discuss a forum topic, weblog post, story, collaborative book page, etc.

Functions

NameDescription
comment_accessThis is *not* a hook_access() implementation. This function is called to determine whether the current user has access to a particular comment.
comment_admin_editMenu callback; edit a comment from the administrative interface.
comment_admin_overviewMenu callback; present an administrative comment listing.
comment_already_moderated
comment_blockImplementation of hook_block().
comment_configureMenu callback; presents the comment settings page.
comment_deleteMenu callback; delete a comment.
comment_edit
comment_helpImplementation of hook_help().
comment_linkImplementation of hook_link().
comment_links
comment_matrix_settingsMenu callback; presents the moderation vote matrix.
comment_menuImplementation of hook_menu().
comment_moderate
comment_moderation_form
comment_nodeapiImplementation of hook_nodeapi().
comment_node_url
comment_num_all
comment_num_newget number of new comments for current user and specified node
comment_num_replies
comment_permImplementation of hook_perm().
comment_post
comment_preview
comment_render
comment_reply
comment_role_settingsMenu callback; allows admin to set default scores for different roles.
comment_save
comment_save_settings
comment_threshold_settingsMenu callback; displays settings for thresholds at which comments are displayed.
comment_userImplementation of hook_user().
comment_user_can_moderate
comment_validate_form
comment_visible
comment_vote_settingsMenu callback; displays page for assigning names to vote values.
theme_comment
theme_comment_controls
theme_comment_flat_collapsed
theme_comment_flat_expanded
theme_comment_folded
theme_comment_form
theme_comment_mode_form
theme_comment_order_form
theme_comment_per_page_form
theme_comment_post_forbidden
theme_comment_preview
theme_comment_thread_max
theme_comment_thread_min
theme_comment_threshold
theme_comment_view
_comment_delete_thread
_comment_get_modesReturn an array of viewing modes for comment listings.
_comment_get_ordersReturn an array of viewing orders for comment listings.
_comment_per_pageReturn an array of "comments per page" settings from which the user can choose.
_comment_update_node_statisticsUpdates the comment statistics for a given node. This should be called any time a comment is added, deleted, or updated.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.