Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FileAuditorForm.inc.php
1 <?php
2 
16 import('lib.pkp.controllers.grid.files.signoff.form.PKPFileAuditorForm');
17 
20  var $_publicationFormatId;
21 
25  function FileAuditorForm($submission, $fileStage, $stageId, $symbolic, $eventType, $assocId = null, $publicationFormatId = null) {
26  parent::PKPFileAuditorForm($submission, $fileStage, $stageId, $symbolic, $eventType, $assocId);
27  $this->_publicationFormatId = $publicationFormatId;
28  }
29 
30  // Getters and Setters.
35  function getPublicationFormatId() {
36  return $this->_publicationFormatId;
37  }
38 
39  //
40  // Overridden template methods.
41  //
47  function initData($args, $request) {
48 
49  parent::initData($args, $request);
50 
51  if ($this->getPublicationFormatId()) {
52  $this->setData('publicationFormatId', $this->getPublicationFormatId());
53  }
54  }
55 }
56 
57 ?>
Base form for Signoffs.
setData($key, $value)
Definition: Form.inc.php:219
initData()
Definition: Form.inc.php:227
FileAuditorForm($submission, $fileStage, $stageId, $symbolic, $eventType, $assocId=null, $publicationFormatId=null)
File auditor form.