Application-specific submission actions. More...
Public Member Functions | |
| Action () | |
| deleteComment ($commentId, $user=null) | |
| downloadFile ($articleId, $fileId, $revision=null) | |
| editComment ($article, $comment) | |
| instructions ($type, $allowed=array('copy', 'layout', 'proof', 'referenceLinking')) | |
| saveComment ($article, &$comment, $emailComment, $request) | |
| saveMetadata ($article, &$request) | |
| viewFile ($articleId, $fileId, $revision=null) | |
| viewMetadata ($article, $journal) | |
Application-specific submission actions.
Definition at line 43 of file Action.inc.php.
| Action.Action | ( | ) |
Constructor.
Definition at line 47 of file Action.inc.php.
Referenced by AuthorAction.AuthorAction(), and SectionEditorAction.SectionEditorAction().
| Action.deleteComment | ( | $ | commentId, | |
| $ | user = null | |||
| ) |
Delete comment.
| $commentId | int | |
| $user | object The user who owns the comment, or null to default to Request.getUser |
Definition at line 295 of file Action.inc.php.
| Action.downloadFile | ( | $ | articleId, | |
| $ | fileId, | |||
| $ | revision = null | |||
| ) |
Download file.
| $articleId | int | |
| $fileId | int | |
| $revision | int |
Reimplemented in LayoutEditorAction.
Definition at line 179 of file Action.inc.php.
Referenced by AuthorAction.downloadAuthorFile(), CopyeditorAction.downloadCopyeditorFile(), SubmissionEditHandler.downloadFile(), ProofreaderAction.downloadProofreaderFile(), and ReviewerAction.downloadReviewerFile().
| Action.editComment | ( | $ | article, | |
| $ | comment | |||
| ) |
| Action.instructions | ( | $ | type, | |
| $ | allowed = array('copy', 'layout', 'proof', 'referenceLinking') | |||
| ) |
Display submission management instructions.
| $type | string the type of instructions (copy, layout, or proof). |
Definition at line 201 of file Action.inc.php.
References Request.getJournal().
Referenced by ProofreaderHandler.instructions().
| Action.saveComment | ( | $ | article, | |
| &$ | comment, | |||
| $ | emailComment, | |||
| $ | request | |||
| ) |
| Action.saveMetadata | ( | $ | article, | |
| &$ | request | |||
| ) |
Save metadata.
| $article | object | |
| $request | PKPRequest |
Definition at line 76 of file Action.inc.php.
References ArticleLog.logEvent().
Referenced by SubmissionEditHandler.saveMetadata(), and SubmissionCopyeditHandler.saveMetadata().
| Action.viewFile | ( | $ | articleId, | |
| $ | fileId, | |||
| $ | revision = null | |||
| ) |
View file.
| $articleId | int | |
| $fileId | int | |
| $revision | int |
Definition at line 191 of file Action.inc.php.
Referenced by SubmissionEditHandler.viewFile(), SubmissionProofreadHandler.viewFile(), SubmissionLayoutHandler.viewFile(), SubmissionCopyeditHandler.viewFile(), and TrackSubmissionHandler.viewFile().
| Action.viewMetadata | ( | $ | article, | |
| $ | journal | |||
| ) |
View metadata of an article.
| $article | object |
Definition at line 58 of file Action.inc.php.
1.7.1