[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
Jurnal PSCP
/
lib
/
pkp
/
controllers
/
informationCenter
/
form
/
[
Home
]
File: NewSubmissionNoteForm.inc.php
<?php /** * @file controllers/informationCenter/form/NewSubmissionNoteForm.inc.php * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2003-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class NewSubmissionNoteForm * @ingroup informationCenter_form * * @brief Form to display and post notes on a file */ import('lib.pkp.controllers.informationCenter.form.NewNoteForm'); class NewSubmissionNoteForm extends NewNoteForm { /** @var int The ID of the submission to attach the note to */ var $submissionId; /** * Constructor. */ function __construct($submissionId) { parent::__construct(); $this->submissionId = $submissionId; } /** * Return the assoc type for this note. * @return int */ function getAssocType() { return ASSOC_TYPE_SUBMISSION; } /** * Return the submit note button locale key. * Can be overriden by subclasses. * @return string */ function getSubmitNoteLocaleKey() { return 'informationCenter.addNote'; } /** * Return the assoc ID for this note. * @return int */ function getAssocId() { return $this->submissionId; } }