Go to the source code of this file.
Functions | |
comment_admin ($type= 'new') | |
comment_admin_overview ($type= 'new', $arg) | |
comment_admin_overview_validate ($form, &$form_state) | |
comment_admin_overview_submit ($form, &$form_state) | |
theme_comment_admin_overview ($form) | |
comment_multiple_delete_confirm (&$form_state) | |
comment_multiple_delete_confirm_submit ($form, &$form_state) | |
comment_delete ($cid=NULL) | |
comment_confirm_delete (&$form_state, $comment) | |
comment_confirm_delete_submit ($form, &$form_state) | |
_comment_delete_thread ($comment) |
Definition in file comment.admin.inc.
_comment_delete_thread | ( | $ | comment | ) |
Perform the actual deletion of a comment and all its replies.
$comment | An associative array describing the comment to be deleted. |
Definition at line 301 of file comment.admin.inc.
References $result, db_fetch_object(), db_query(), subject, and watchdog().
Referenced by comment_confirm_delete_submit(), and comment_multiple_delete_confirm_submit().
comment_admin | ( | $ | type = 'new' |
) |
Menu callback; present an administrative comment listing.
Definition at line 12 of file comment.admin.inc.
References $type, arg(), and drupal_get_form().
comment_admin_overview_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Process comment_admin_overview form submissions.
Execute the chosen 'Update option' on the selected comments, such as publishing, unpublishing or deleting.
Definition at line 123 of file comment.admin.inc.
References $value, cache_clear_all(), db_query(), drupal_set_message(), l(), nid, subject, t(), and watchdog().
comment_admin_overview_validate | ( | $ | form, | |
&$ | form_state | |||
) |
Validate comment_admin_overview form submissions.
Definition at line 108 of file comment.admin.inc.
References drupal_goto(), form_set_error(), and t().
comment_confirm_delete_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Process comment_confirm_delete form submissions.
Definition at line 283 of file comment.admin.inc.
References _comment_delete_thread(), cache_clear_all(), drupal_set_message(), nid, and t().
comment_delete | ( | $ | cid = NULL |
) |
Menu callback; delete a comment.
$cid | The comment to be deleted. |
Definition at line 246 of file comment.admin.inc.
References $output, db_fetch_object(), db_query(), drupal_get_form(), drupal_set_message(), and t().
comment_multiple_delete_confirm_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Process comment_multiple_delete_confirm form submissions.
Definition at line 226 of file comment.admin.inc.
References $value, _comment_delete_thread(), cache_clear_all(), drupal_set_message(), nid, and t().