Open Journal Systems
3.3.0
NewFileNoteForm.inc.php
1
<?php
2
17
import
(
'lib.pkp.controllers.informationCenter.form.NewNoteForm'
);
18
19
class
NewFileNoteForm
extends
NewNoteForm
{
21
var
$fileId
;
22
26
function
__construct
(
$fileId
) {
27
parent::__construct();
28
29
$this->fileId =
$fileId
;
30
}
31
36
function
getAssocType
() {
37
return
ASSOC_TYPE_SUBMISSION_FILE;
38
}
39
45
function
getSubmitNoteLocaleKey
() {
46
return
'informationCenter.addNote'
;
47
}
48
53
function
getAssocId
() {
54
return
$this->fileId
;
55
}
56
60
function
fetch
($request, $template =
null
, $display =
false
) {
61
$templateMgr =
TemplateManager::getManager
($request);
62
$templateMgr->assign(
'showEarlierEntries'
,
true
);
63
return
parent::fetch($request, $template, $display);
64
}
65
}
66
67
NewNoteForm\__construct
__construct()
Definition:
NewNoteForm.inc.php:23
NewFileNoteForm\$fileId
$fileId
Definition:
NewFileNoteForm.inc.php:24
NewFileNoteForm\getSubmitNoteLocaleKey
getSubmitNoteLocaleKey()
Definition:
NewFileNoteForm.inc.php:48
NewNoteForm
Form to display and post notes on a file.
Definition:
NewNoteForm.inc.php:19
NewFileNoteForm\fetch
fetch($request, $template=null, $display=false)
Definition:
NewFileNoteForm.inc.php:63
NewFileNoteForm\getAssocType
getAssocType()
Definition:
NewFileNoteForm.inc.php:39
PKPTemplateManager\getManager
static & getManager($request=null)
Definition:
PKPTemplateManager.inc.php:1239
NewFileNoteForm
Form to display and post notes on a file.
Definition:
NewFileNoteForm.inc.php:19
NewFileNoteForm\__construct
__construct($fileId)
Definition:
NewFileNoteForm.inc.php:29
NewFileNoteForm\getAssocId
getAssocId()
Definition:
NewFileNoteForm.inc.php:56
lib
pkp
controllers
informationCenter
form
NewFileNoteForm.inc.php
Generated on Fri Aug 28 2020 14:52:51 for Open Journal Systems by
1.8.17