Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AuditorReminderForm.inc.php
1 <?php
2 
16 import('lib.pkp.controllers.grid.files.fileSignoff.form.PKPAuditorReminderForm');
17 
19 
22 
24  var $_stageId;
25 
28 
32  function AuditorReminderForm(&$signoff, $submissionId, $stageId, $publicationFormatId = null) {
33  parent::PKPAuditorReminderForm($signoff, $submissionId, $stageId);
34  $this->_publicationFormatId = $publicationFormatId;
35 
36  // Validation checks for this form
37  $this->addCheck(new FormValidatorPost($this));
38  }
39 
40  //
41  // Getters and Setters
42  //
49  }
50 
51 
52  //
53  // Overridden template methods
54  //
60  function initData($args, $request) {
61  parent::initData($args, $request);
62  $this->setData('publicationFormatId', $this->getPublicationFormatId());
63  }
64 
69  function _getMailTemplate($submission) {
70  import('classes.mail.MonographMailTemplate');
71  $email = new MonographMailTemplate($submission, 'REVIEW_REMIND', null, null, null, false);
72  return $email;
73  }
74 }
75 
76 ?>
Subclass of MailTemplate for sending emails related to submissions.
addCheck($formValidator)
Definition: Form.inc.php:396
setData($key, $value)
Definition: Form.inc.php:219
AuditorReminderForm(&$signoff, $submissionId, $stageId, $publicationFormatId=null)
Form validation check to make sure the form is POSTed.
Form for sending a singoff reminder to an auditor.
Base Form for sending a singoff reminder to an auditor.