Hi,
I am developing a theme for OJS. One of the requirements of the theme is to display the “masthead” of an issue/article. In the masthead, we want to list all of the users involved in the review process of that issue/article and their role in the review process.
Is this something that can be retrieved through a DataStructure? The only thing I was able to find is that one can retrieve the Author, but as I mentioned, I would also like to get the information of everyone that was involved in the publication.
Thanks in advance!
ReviewAssignmentDAO::getBySubmissionId
will give you review assignments for a specific submission.
/**
* Get all review assignments for a submission.
* @param $submissionId int Submission ID
* @param $reviewRoundId int Review round ID
* @param $stageId int Optional stage ID
* @return array ReviewAssignments
*/
function getBySubmissionId($submissionId, $reviewRoundId = null, $stageId = null) {
$query = $this->_getSelectQuery() .
' WHERE r.submission_id = ?';
$orderBy = ' ORDER BY review_id';
$queryParams[] = (int) $submissionId;
if ($reviewRoundId != null) {
$query .= ' AND r2.review_round_id = ?';
$queryParams[] = (int) $reviewRoundId;
} else {
$orderBy .= ', r2.review_round_id';
This file has been truncated. show original
You’ll need to check the ReviewAssignment
status, acceptance, and blinding in order to determine whether it is appropriate to show for the article:
define('SUBMISSION_REVIEWER_RECOMMENDATION_ACCEPT', 1);
define('SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS', 2);
define('SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_HERE', 3);
define('SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_ELSEWHERE', 4);
define('SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE', 5);
define('SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS', 6);
define('SUBMISSION_REVIEWER_RATING_VERY_GOOD', 5);
define('SUBMISSION_REVIEWER_RATING_GOOD', 4);
define('SUBMISSION_REVIEWER_RATING_AVERAGE', 3);
define('SUBMISSION_REVIEWER_RATING_POOR', 2);
define('SUBMISSION_REVIEWER_RATING_VERY_POOR', 1);
define('SUBMISSION_REVIEW_METHOD_BLIND', 1);
define('SUBMISSION_REVIEW_METHOD_DOUBLEBLIND', 2);
define('SUBMISSION_REVIEW_METHOD_OPEN', 3);
// A review is "unconsidered" when it is confirmed by an editor and then that
// confirmation is later revoked.
define('REVIEW_ASSIGNMENT_NOT_UNCONSIDERED', 0); // Has never been unconsidered
This file has been truncated. show original
Thanks! This is what I needed.