Public Member Functions | |
| AdminChangeCommentsStatusAction ($actionInfo, $request) | |
| perform () | |
| _markCommentAsSpam ($comment) | |
Public Attributes | |
| $_articleId | |
| $_commentIds | |
| $_commentStatus | |
Private Member Functions | |
| _changeComments () | |
| _markCommentAsNonSpam ($comment) | |
Definition at line 16 of file adminchangecommentsstatusaction.class.php.
| AdminChangeCommentsStatusAction.AdminChangeCommentsStatusAction | ( | $ | actionInfo, | |
| $ | request | |||
| ) |
Constructor. If nothing else, it also has to call the constructor of the parent class, BlogAction with the same parameters
Definition at line 27 of file adminchangecommentsstatusaction.class.php.
References $request, AdminAction.AdminAction(), Action.registerFieldValidator(), and Action.setValidationErrorView().
| AdminChangeCommentsStatusAction.perform | ( | ) |
sets up the parameters and calls the method below
Reimplemented from Action.
Definition at line 41 of file adminchangecommentsstatusaction.class.php.
References _changeComments().
| AdminChangeCommentsStatusAction._changeComments | ( | ) | [private] |
changes comments status
Definition at line 56 of file adminchangecommentsstatusaction.class.php.
References $articles, _markCommentAsNonSpam(), _markCommentAsSpam(), AdminAction.notifyEvent(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().
Referenced by perform().
| AdminChangeCommentsStatusAction._markCommentAsSpam | ( | $ | comment | ) |
Definition at line 152 of file adminchangecommentsstatusaction.class.php.
References lt_include(), and AdminAction.notifyEvent().
Referenced by _changeComments().
| AdminChangeCommentsStatusAction._markCommentAsNonSpam | ( | $ | comment | ) | [private] |
Definition at line 184 of file adminchangecommentsstatusaction.class.php.
References lt_include(), and AdminAction.notifyEvent().
Referenced by _changeComments().
| AdminChangeCommentsStatusAction.$_articleId |
Definition at line 19 of file adminchangecommentsstatusaction.class.php.
| AdminChangeCommentsStatusAction.$_commentIds |
Definition at line 20 of file adminchangecommentsstatusaction.class.php.
| AdminChangeCommentsStatusAction.$_commentStatus |
Definition at line 21 of file adminchangecommentsstatusaction.class.php.