PHP Class EditorDecisionWithEmailForm, pkp-lib

Inheritance: extends EditorDecisionForm
Show file Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_saveFormOperation String

Public Methods

Method Description
__construct ( $submission, $decision, $stageId, $template, $reviewRound = null ) Constructor.
_getAllowedVariables ( $request ) : array Get a list of allowed email template variables.
_sendReviewMailToAuthor ( $submission, $emailKey, $request ) Sends an email with a personal message and the selected review attachements to the author. Also marks review attachments selected by the editor as "viewable" for the author.
_updateReviewRoundStatus ( $submission, $status, $reviewRound = null ) Retrieve the last review round and update it with the new status.
fetch ( $request )
getSaveFormOperation ( ) : string Get the operation to save this form.
initData ( $args, $request, $actionLabels )
readInputData ( )
setSaveFormOperation ( $saveFormOperation ) Set the operation to save this form.

Method Details

__construct() public method

Constructor.
public __construct ( $submission, $decision, $stageId, $template, $reviewRound = null )
$submission Submission
$decision integer
$stageId integer
$template string The template to display
$reviewRound ReviewRound

_getAllowedVariables() public method

Get a list of allowed email template variables.
public _getAllowedVariables ( $request ) : array
$request PKPRequest Request object
return array

_sendReviewMailToAuthor() public method

Sends an email with a personal message and the selected review attachements to the author. Also marks review attachments selected by the editor as "viewable" for the author.
public _sendReviewMailToAuthor ( $submission, $emailKey, $request )
$submission Submission
$emailKey string An email template.
$request PKPRequest

_updateReviewRoundStatus() public method

Retrieve the last review round and update it with the new status.
public _updateReviewRoundStatus ( $submission, $status, $reviewRound = null )
$submission Submission
$status integer One of the REVIEW_ROUND_STATUS_* constants.

fetch() public method

public fetch ( $request )

getSaveFormOperation() public method

Get the operation to save this form.
public getSaveFormOperation ( ) : string
return string

initData() public method

public initData ( $args, $request, $actionLabels )

readInputData() public method

public readInputData ( )

setSaveFormOperation() public method

Set the operation to save this form.
public setSaveFormOperation ( $saveFormOperation )
$saveFormOperation string

Property Details

$_saveFormOperation public property

public String $_saveFormOperation
return String