Public Member Functions | |
| AdminDeleteCommentAction ($actionInfo, $request) | |
| perform () | |
Public Attributes | |
| $_articleId | |
| $_commentIds | |
| $_mode | |
Private Member Functions | |
| _deleteComments () | |
Definition at line 16 of file admindeletecommentaction.class.php.
| AdminDeleteCommentAction.AdminDeleteCommentAction | ( | $ | 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 admindeletecommentaction.class.php.
References $request, _mode, AdminAction.AdminAction(), Action.registerFieldValidator(), AdminAction.requirePermission(), and Action.setValidationErrorView().
| AdminDeleteCommentAction.perform | ( | ) |
sets up the parameters and calls the method below
Reimplemented from Action.
Definition at line 48 of file admindeletecommentaction.class.php.
References _deleteComments(), and _mode.
| AdminDeleteCommentAction._deleteComments | ( | ) | [private] |
deletes comments
Definition at line 68 of file admindeletecommentaction.class.php.
References $articles, AdminAction.notifyEvent(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().
Referenced by perform().
| AdminDeleteCommentAction.$_articleId |
Definition at line 19 of file admindeletecommentaction.class.php.
| AdminDeleteCommentAction.$_commentIds |
Definition at line 20 of file admindeletecommentaction.class.php.
| AdminDeleteCommentAction.$_mode |
Definition at line 21 of file admindeletecommentaction.class.php.