Subclass of MailTemplate for sending emails related to monographs. More...
Public Member Functions | |
| _addUsers ($monographId, $roleId, $stageId, $method) | |
| assignParams ($paramArray=array()) | |
| bccAssignedSeriesEditors ($monographId, $stageId) | |
| ccAssignedSeriesEditors ($monographId, $stageId) | |
| log ($request=null) | |
| MonographMailTemplate ($monograph, $emailKey=null, $locale=null, $enableAttachments=null, $press=null, $includeSignature=true) | |
| send ($request=null) | |
| sendWithParams ($paramArray) | |
| setEventType ($eventType) | |
| setPress ($press) | |
| toAssignedSeriesEditors ($monographId, $stageId) | |
Subclass of MailTemplate for sending emails related to monographs.
This allows for monograph-specific functionality like logging, etc.
Definition at line 22 of file MonographMailTemplate.inc.php.
| MonographMailTemplate._addUsers | ( | $ | monographId, | |
| $ | roleId, | |||
| $ | stageId, | |||
| $ | method | |||
| ) |
Private method to fetch the requested users and add to the email
| $monographId | int | |
| $roleId | int | |
| $stageId | int | |
| $method | string one of addRecipient, addCC, or addBCC |
Definition at line 195 of file MonographMailTemplate.inc.php.
Referenced by bccAssignedSeriesEditors(), ccAssignedSeriesEditors(), and toAssignedSeriesEditors().
| MonographMailTemplate.assignParams | ( | $ | paramArray = array() |
) |
Assigns values to e-mail parameters.
| $paramArray | array |
Reimplemented from MailTemplate.
Definition at line 48 of file MonographMailTemplate.inc.php.
References Request.getPress().
Referenced by sendWithParams().
| MonographMailTemplate.bccAssignedSeriesEditors | ( | $ | monographId, | |
| $ | stageId | |||
| ) |
BCC this email to all assigned series editors in the given stage
| $monographId | int | |
| $stageId | int |
Definition at line 183 of file MonographMailTemplate.inc.php.
References _addUsers().
| MonographMailTemplate.ccAssignedSeriesEditors | ( | $ | monographId, | |
| $ | stageId | |||
| ) |
CC this email to all assigned series editors in the given stage
| $monographId | int | |
| $stageId | int |
Definition at line 174 of file MonographMailTemplate.inc.php.
References _addUsers().
| MonographMailTemplate.log | ( | $ | request = null |
) |
Save the email in the monograph email log.
Definition at line 113 of file MonographMailTemplate.inc.php.
Referenced by send().
| MonographMailTemplate.MonographMailTemplate | ( | $ | monograph, | |
| $ | emailKey = null, |
|||
| $ | locale = null, |
|||
| $ | enableAttachments = null, |
|||
| $ | press = null, |
|||
| $ | includeSignature = true | |||
| ) |
Constructor.
| $monograph | object | |
| $emailKey | string optional | |
| $locale | string optional | |
| $enableAttachments | boolean optional | |
| $press | object optional | |
| $includeSignature | boolean optional |
Definition at line 43 of file MonographMailTemplate.inc.php.
References MailTemplate.MailTemplate().
| MonographMailTemplate.send | ( | $ | request = null |
) |
| $request | PKPRequest optional (used for logging purposes) |
Reimplemented from MailTemplate.
Definition at line 66 of file MonographMailTemplate.inc.php.
References log().
Referenced by sendWithParams().
| MonographMailTemplate.sendWithParams | ( | $ | paramArray | ) |
Definition at line 80 of file MonographMailTemplate.inc.php.
References assignParams(), and send().
| MonographMailTemplate.setEventType | ( | $ | eventType | ) |
Add logging properties to this email.
| $eventType | int |
Definition at line 98 of file MonographMailTemplate.inc.php.
| MonographMailTemplate.setPress | ( | $ | press | ) |
Set the press this message is associated with.
| $press | object |
Definition at line 106 of file MonographMailTemplate.inc.php.
| MonographMailTemplate.toAssignedSeriesEditors | ( | $ | monographId, | |
| $ | stageId | |||
| ) |
Send this email to all assigned series editors in the given stage
| $monographId | int | |
| $stageId | int |
Definition at line 164 of file MonographMailTemplate.inc.php.
References _addUsers().
1.7.1