Public Member Functions | |
| AdminDeletePostAction ($actionInfo, $request) | |
| _deletePosts () | |
| perform () | |
Public Attributes | |
| $_postIds | |
Definition at line 16 of file admindeletepostaction.class.php.
| AdminDeletePostAction.AdminDeletePostAction | ( | $ | 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 25 of file admindeletepostaction.class.php.
References $request, _mode, AdminAction.AdminAction(), Action.registerFieldValidator(), and Action.setValidationErrorView().
| AdminDeletePostAction._deletePosts | ( | ) |
Carries out the specified action
Definition at line 45 of file admindeletepostaction.class.php.
References $articles, $result, false, AdminAction.notifyEvent(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().
Referenced by perform().
| AdminDeletePostAction.perform | ( | ) |
Receives the HTTP request from the client as parameter, so that we can extract the parameters and perform our business logic.
The result of this will be a view, which will normally be the output of the processing we just did or for example an error view showing an error message. Once we have completed processing, the controller will call the getView() method to get the resulting view and send it back to the customer.
Reimplemented from Action.
Definition at line 103 of file admindeletepostaction.class.php.
References _deletePosts(), and _mode.
| AdminDeletePostAction.$_postIds |
Definition at line 19 of file admindeletepostaction.class.php.