Public Member Functions | |
| AdminAddPostAction ($actionInfo, $request) | |
| perform () | |
| clearAutoSaveCookie () | |
Private Member Functions | |
| validate () | |
| _savePostData ($article) | |
Definition at line 17 of file adminaddpostaction.class.php.
| AdminAddPostAction._savePostData | ( | $ | article | ) | [private] |
returns the id of the post or 'false' if it couldn't be saved
Definition at line 69 of file adminaddpostaction.class.php.
References $articles, AdminPostManagementCommonAction._getArticleCustomFields(), and AdminAction.notifyEvent().
Referenced by perform().
| AdminAddPostAction.AdminAddPostAction | ( | $ | 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 23 of file adminaddpostaction.class.php.
References $request, AdminPostManagementCommonAction.AdminPostManagementCommonAction(), Action.registerField(), Action.registerFieldValidator(), and Action.setValidationErrorView().
| AdminAddPostAction.clearAutoSaveCookie | ( | ) |
Definition at line 230 of file adminaddpostaction.class.php.
References $rg.
Referenced by perform(), and validate().
| AdminAddPostAction.perform | ( | ) |
Carries out the specified action
Reimplemented from Action.
Definition at line 103 of file adminaddpostaction.class.php.
References AdminPostManagementCommonAction._fetchCommonData(), _savePostData(), clearAutoSaveCookie(), StringUtils.getLinks(), AdminAction.notifyEvent(), CacheControl.resetBlogCache(), AdminPostManagementCommonAction.sendXmlRpcPings(), AdminAction.setCommonData(), and BayesianFilterCore.trainWithArticle().
| AdminAddPostAction.validate | ( | ) | [private] |
If the form is not validate, we need to clean the autosave cookie
Reimplemented from Action.
Definition at line 55 of file adminaddpostaction.class.php.
References clearAutoSaveCookie().