Property | Type | Description | |
---|---|---|---|
$_itemId | The file/submission ID this form is for | ||
$_itemType | The type of item the form is for (used to determine which email template to use) | ||
$_stageId | The stage Id * | ||
$_submissionId | the Submission id |
Method | Description | |
---|---|---|
__construct ( $itemId, $itemType, $stageId, $template = null ) | Constructor. | |
deleteEntry ( $request, $rowId ) | ||
execute ( $request ) | ||
fetch ( $request ) | ||
getEmailVariableNames ( $emailKey ) : array | Get the available email template variable names for the given template name. | |
getStageId ( ) : integer | Get the stage ID | |
includeNotifyUsersListbuilder ( ) : boolean | whether or not to include the Notify Users listbuilder true, by default. | |
insertEntry ( $request, $newRowId ) | ||
readInputData ( $request ) | ||
sendMessage ( $userId, $submission, $request ) | Send a message to a user. |
Method | Description | |
---|---|---|
_getMailTemplate ( $submission, $templateKey, $includeSignature = true ) : array | Return app-specific mail template. | |
_getStageTemplates ( ) : array | return app-specific stage templates. |
Method | Description | |
---|---|---|
_addAssignmentTaskNotification ( $request, $type, $userId, $submissionId ) | Add upload task notifications. |
public __construct ( $itemId, $itemType, $stageId, $template = null ) |
abstract protected _getMailTemplate ( $submission, $templateKey, $includeSignature = true ) : array | ||
$submission | Submission | |
$templateKey | string | |
$includeSignature | boolean | |
return | array |
abstract protected _getStageTemplates ( ) : array | ||
return | array |
public getEmailVariableNames ( $emailKey ) : array | ||
$emailKey | string Email template key | |
return | array |
public includeNotifyUsersListbuilder ( ) : boolean | ||
return | boolean |
public sendMessage ( $userId, $submission, $request ) | ||
$userId | int the user id to send email to. | |
$submission | Submission | |
$request | PKPRequest |
public $_itemType |