Public Member Functions | |
| AdminChangePostsStatusAction ($actionInfo, $request) | |
| _changePostsStatus () | |
| perform () | |
Public Attributes | |
| $_postIds | |
| $_postStatus | |
Definition at line 16 of file adminchangepostsstatusaction.class.php.
| AdminChangePostsStatusAction.AdminChangePostsStatusAction | ( | $ | 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 26 of file adminchangepostsstatusaction.class.php.
References $request, AdminAction.AdminAction(), Action.registerFieldValidator(), and Action.setValidationErrorView().
| AdminChangePostsStatusAction._changePostsStatus | ( | ) |
Carries out the specified action
Definition at line 39 of file adminchangepostsstatusaction.class.php.
References $articles, $result, AdminAction.notifyEvent(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().
Referenced by perform().
| AdminChangePostsStatusAction.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 91 of file adminchangepostsstatusaction.class.php.
References _changePostsStatus().
| AdminChangePostsStatusAction.$_postIds |
Definition at line 19 of file adminchangepostsstatusaction.class.php.
| AdminChangePostsStatusAction.$_postStatus |
Definition at line 20 of file adminchangepostsstatusaction.class.php.