Action Class Reference
[Submission]

Action class. More...

Inheritance diagram for Action:

AuthorAction CopyeditorAction LayoutEditorAction ProofreaderAction ReviewerAction SectionEditorAction EditorAction

List of all members.

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)
 saveMetadata ($article)
 viewFile ($articleId, $fileId, $revision=null)
 viewMetadata ($article, $roleId)


Detailed Description

Action class.

Definition at line 42 of file Action.inc.php.


Member Function Documentation

Action.Action (  ) 

Constructor.

Definition at line 47 of file Action.inc.php.

Action.deleteComment ( commentId,
user = null 
)

Delete comment.

Parameters:
$commentId int
$user object The user who owns the comment, or null to default to Request.getUser

Definition at line 272 of file Action.inc.php.

References HookRegistry.call(), DAORegistry.getDAO(), and Request.getUser().

Referenced by SubmissionCommentsHandler.deleteComment().

Action.downloadFile ( articleId,
fileId,
revision = null 
)

Action.editComment ( article,
comment 
)

Edit comment.

Parameters:
$commentId int

Definition at line 233 of file Action.inc.php.

References HookRegistry.call().

Referenced by SubmissionCommentsHandler.editComment().

Action.instructions ( type,
allowed = array('copy', 'layout', 'proof', 'referenceLinking') 
)

Action.saveComment ( article,
&$  comment,
emailComment 
)

Save comment.

Parameters:
$commentId int

Definition at line 247 of file Action.inc.php.

References HookRegistry.call().

Referenced by SubmissionCommentsHandler.saveComment().

Action.saveMetadata ( article  ) 

Save metadata.

Parameters:
$article object

Definition at line 76 of file Action.inc.php.

References HookRegistry.call(), Request.getUser(), Request.getUserVar(), and ArticleLog.logEvent().

Action.viewFile ( articleId,
fileId,
revision = null 
)

Action.viewMetadata ( article,
roleId 
)

Actions. View metadata of an article.

Parameters:
$article object

Definition at line 59 of file Action.inc.php.

References HookRegistry.call().

Referenced by SubmissionReviewHandler.viewMetadata(), and SubmissionCopyeditHandler.viewMetadata().


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:38 2008 for Open Journal Systems by  doxygen 1.5.6