PHP Класс EditorDecisionWithEmailForm, pkp-lib

Наследование: extends EditorDecisionForm
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_saveFormOperation String

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

_getAllowedVariables() публичный Метод

Get a list of allowed email template variables.
public _getAllowedVariables ( $request ) : array
$request PKPRequest Request object
Результат array

_sendReviewMailToAuthor() публичный Метод

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() публичный Метод

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 fetch ( $request )

getSaveFormOperation() публичный Метод

Get the operation to save this form.
public getSaveFormOperation ( ) : string
Результат string

initData() публичный Метод

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

readInputData() публичный Метод

public readInputData ( )

setSaveFormOperation() публичный Метод

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

Описание свойств

$_saveFormOperation публичное свойство

public String $_saveFormOperation
Результат String