You are here

constant COMMENT_PUBLISHED in Drupal 6

Same name and namespace in other branches
  1. 4 modules/comment.module \COMMENT_PUBLISHED
  2. 5 modules/comment/comment.module \COMMENT_PUBLISHED
  3. 7 modules/comment/comment.module \COMMENT_PUBLISHED

Comment is published.

14 uses of COMMENT_PUBLISHED
comment_access in modules/comment/comment.module
This is *not* a hook_access() implementation. This function is called to determine whether the current user has access to a particular comment.
comment_admin_overview in modules/comment/comment.admin.inc
Form builder; Builds the comment overview form for the admin.
comment_form_add_preview in modules/comment/comment.module
Form builder; Generate and validate a comment preview form.
comment_get_recent in modules/comment/comment.module
Find a number of recent comments. This is done in two steps. 1. Find the n (specified by $number) nodes that have the most recent comments. This is done by querying node_comment_statistics which has an index on last_comment_timestamp, and is thus a…
comment_nodeapi in modules/comment/comment.module
Implementation of hook_nodeapi().

... See full list

File

modules/comment/comment.module, line 15
Enables users to comment on published content.

Code

define('COMMENT_PUBLISHED', 0);