ocs  2.3.6
About: OCS (Open Conference System) is a Web publishing tool that will create a complete Web presence for your scholarly conference.
  Fossies Dox: ocs-2.3.6.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Action Class Reference

Action class. More...

Inheritance diagram for Action:

Public Member Functions

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

Detailed Description

Action class.

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

Member Function Documentation

◆ deleteComment()

Action::deleteComment (   $commentId,
  $user = null 
)

Delete comment.

Parameters
$commentIdint
$userobject The user who owns the comment, or null to default to Request::getUser

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

References HookRegistry\call(), DAORegistry\getDAO(), and PKPRequest\getUser().

Referenced by SubmissionCommentsHandler\deleteComment().

◆ downloadFile()

Action::downloadFile (   $paperId,
  $fileId,
  $revision = null 
)

Download file.

Parameters
$paperIdint
$fileIdint
$revisionint

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

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

◆ editComment()

Action::editComment (   $paper,
  $comment 
)

Edit comment.

Parameters
$commentIdint

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

References HookRegistry\call().

Referenced by SubmissionCommentsHandler\editComment().

◆ saveComment()

Action::saveComment (   $paper,
$comment,
  $emailComment 
)

Save comment.

Parameters
$commentIdint

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

References HookRegistry\call(), NOTIFICATION_TYPE_SUBMISSION_COMMENT, and Request\url().

Referenced by SubmissionCommentsHandler\saveComment().

◆ saveMetadata()

◆ viewFile()

Action::viewFile (   $paperId,
  $fileId,
  $revision = null 
)

View file.

Parameters
$paperIdint
$fileIdint
$revisionint

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

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

◆ viewMetadata()

Action::viewMetadata (   $paper,
  $roleId 
)

View metadata of a paper.

Parameters
$paperobject

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

References HookRegistry\call().

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


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