Open Journal Systems
3.3.0
AuthorReviewRevisionsGridHandler.inc.php
1
<?php
2
16
import
(
'lib.pkp.controllers.grid.files.fileList.FileListGridHandler'
);
17
18
class
AuthorReviewRevisionsGridHandler
extends
FileListGridHandler
{
22
function
__construct
() {
23
import
(
'lib.pkp.controllers.grid.files.review.ReviewGridDataProvider'
);
24
parent::__construct(
25
new
ReviewGridDataProvider
(SUBMISSION_FILE_REVIEW_REVISION),
26
null
,
27
FILE_GRID_ADD|FILE_GRID_EDIT|FILE_GRID_DELETE
28
);
29
30
$this->
addRoleAssignment
(
31
array(ROLE_ID_AUTHOR),
32
array(
'fetchGrid'
,
'fetchRow'
)
33
);
34
35
$this->
setTitle
(
'editor.submission.revisions'
);
36
}
37
41
public
function
getJSHandler
() {
42
return
'$.pkp.controllers.grid.files.review.AuthorReviewRevisionsGridHandler'
;
43
}
44
}
45
46
PKPHandler\addRoleAssignment
addRoleAssignment($roleIds, $operations)
Definition:
PKPHandler.inc.php:213
ReviewGridDataProvider
Provide access to review file data for grids.
Definition:
ReviewGridDataProvider.inc.php:17
FileListGridHandler
Base grid for simple file lists. This grid shows the file type in addition to the file name.
Definition:
FileListGridHandler.inc.php:22
AuthorReviewRevisionsGridHandler
Display to authors the file revisions that they have uploaded.
Definition:
AuthorReviewRevisionsGridHandler.inc.php:18
GridHandler\setTitle
setTitle($title)
Definition:
GridHandler.inc.php:215
AuthorReviewRevisionsGridHandler\__construct
__construct()
Definition:
AuthorReviewRevisionsGridHandler.inc.php:22
AuthorReviewRevisionsGridHandler\getJSHandler
getJSHandler()
Definition:
AuthorReviewRevisionsGridHandler.inc.php:41
lib
pkp
controllers
grid
files
review
AuthorReviewRevisionsGridHandler.inc.php
Generated on Fri Aug 28 2020 14:50:46 for Open Journal Systems by
1.8.17