Action Class Reference
[Submission]

Action class. More...

Inheritance diagram for Action:

AuthorAction ReviewerAction TrackDirectorAction DirectorAction List of all members.

Public Member Functions

 deleteComment ($commentId, $user=null)
 downloadFile ($paperId, $fileId, $revision=null)
 editComment ($paper, $comment)
 saveComment ($paper, &$comment, $emailComment)
 saveMetadata ($paper)
 viewFile ($paperId, $fileId, $revision=null)
 viewMetadata ($paper, $roleId)

Detailed Description

Action class.

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


Member Function Documentation

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 227 of file Action.inc.php.

Referenced by SubmissionCommentsHandler.deleteComment().

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

Download file.

Parameters:
$paperId int
$fileId int
$revision int

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

Referenced by TrackSubmissionHandler.download(), AuthorAction.downloadAuthorFile(), SubmissionEditHandler.downloadFile(), and ReviewerAction.downloadReviewerFile().

Action.editComment ( paper,
comment 
)

Edit comment.

Parameters:
$commentId int

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

Referenced by SubmissionCommentsHandler.editComment().

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

Save comment.

Parameters:
$commentId int

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

References Request.url().

Referenced by SubmissionCommentsHandler.saveComment().

Action.saveMetadata ( paper  ) 

Save metadata.

Parameters:
$paper object

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

References PaperLog.logEvent(), and Request.url().

Referenced by SubmissionEditHandler.saveMetadata(), and TrackSubmissionHandler.saveMetadata().

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

View file.

Parameters:
$paperId int
$fileId int
$revision int

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

Referenced by SubmissionEditHandler.viewFile(), PaperHandler.viewFile(), and TrackSubmissionHandler.viewFile().

Action.viewMetadata ( paper,
roleId 
)

View metadata of a paper.

Parameters:
$paper object

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

Referenced by SubmissionEditHandler.viewMetadata(), SubmissionReviewHandler.viewMetadata(), and TrackSubmissionHandler.viewMetadata().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7