Inheritance diagram for AdminCommentsHandler:
Collaboration diagram for AdminCommentsHandler:Public Member Functions | |
| form_comment ($comment, $actions) | |
| get_comment ($update=false) | |
| post_comment () | |
| get_comments () | |
| post_comments () | |
| fetch_comments ($params=array()) | |
| comment_access_filter ($comments, $access) | |
| ajax_comments () | |
| ajax_update_comment ($handler_vars) | |
Habari AdminCommentsHandler Class Handles comment-related actions in the admin
Definition at line 12 of file admincommentshandler.php.
| AdminCommentsHandler::ajax_comments | ( | ) |
Handles AJAX requests from the manage comments page.
Definition at line 495 of file admincommentshandler.php.
| AdminCommentsHandler::ajax_update_comment | ( | $ | handler_vars | ) |
Handles AJAX requests to update comments, comment moderation
Definition at line 526 of file admincommentshandler.php.
| AdminCommentsHandler::comment_access_filter | ( | $ | comments, | |
| $ | access | |||
| ) |
A helper function for fetch_comments() Filters a list of comments by ACL access
| object | $comments an array of Comment objects | |
| string | $access the access type to check for |
Definition at line 481 of file admincommentshandler.php.
| AdminCommentsHandler::fetch_comments | ( | $ | params = array() |
) |
Retrieve comments.
Definition at line 241 of file admincommentshandler.php.
Referenced by post_comments().
| AdminCommentsHandler::form_comment | ( | $ | comment, | |
| $ | actions | |||
| ) |
Construct a form for a comment.
Definition at line 18 of file admincommentshandler.php.
Referenced by get_comment().
| AdminCommentsHandler::get_comment | ( | $ | update = false |
) |
Handles GET requests for an individual comment.
Definition at line 124 of file admincommentshandler.php.
Referenced by post_comment().
| AdminCommentsHandler::get_comments | ( | ) |
Handles GET requests for the comments page.
Definition at line 201 of file admincommentshandler.php.
| AdminCommentsHandler::post_comment | ( | ) |
Handles POST requests for an individual comment.
Definition at line 193 of file admincommentshandler.php.
| AdminCommentsHandler::post_comments | ( | ) |
Handles the submission of the comment moderation form.
Definition at line 210 of file admincommentshandler.php.
Referenced by get_comments().
1.7.1