[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/comment/ -> comment.admin.inc (summary)

(no description)

File Size: 295 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  comment_admin()
  comment_admin_overview()
  comment_admin_overview_validate()
  comment_admin_overview_submit()
  theme_comment_admin_overview()
  comment_multiple_delete_confirm()
  comment_multiple_delete_confirm_submit()
  comment_delete()
  comment_confirm_delete()
  comment_confirm_delete_submit()
  _comment_delete_thread()

Functions
Functions that are not part of a class:

comment_admin($type = 'new')   X-Ref
Menu callback; present an administrative comment listing.


comment_admin_overview($type = 'new', $arg)   X-Ref
Form builder; Builds the comment overview form for the admin.

param: $type
param: $arg
return:

comment_admin_overview_validate($form, &$form_state)   X-Ref
Validate comment_admin_overview form submissions.

We can't execute any 'Update options' if no comments were selected.

comment_admin_overview_submit($form, &$form_state)   X-Ref
Process comment_admin_overview form submissions.

Execute the chosen 'Update option' on the selected comments, such as
publishing, unpublishing or deleting.

theme_comment_admin_overview($form)   X-Ref
Theme the comment admin form.

param: $form

comment_multiple_delete_confirm(&$form_state)   X-Ref
List the selected comments and verify that the admin really wants to delete
them.

param: $form_state
return:

comment_multiple_delete_confirm_submit($form, &$form_state)   X-Ref
Process comment_multiple_delete_confirm form submissions.

Perform the actual comment deletion.

comment_delete($cid = NULL)   X-Ref
Menu callback; delete a comment.

param: $cid

comment_confirm_delete(&$form_state, $comment)   X-Ref
Form builder; Builds the confirmation form for deleting a single comment.


comment_confirm_delete_submit($form, &$form_state)   X-Ref
Process comment_confirm_delete form submissions.


_comment_delete_thread($comment)   X-Ref
Perform the actual deletion of a comment and all its replies.

param: $comment



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7