PKPSubmissionFileDAO::getLatestRevisionsByReviewRound PHP Method

getLatestRevisionsByReviewRound() public method

Get the latest revisions of all files that are in the specified review round.
public getLatestRevisionsByReviewRound ( $reviewRound, $fileStage = null ) : array
$reviewRound ReviewRound
$fileStage int SUBMISSION_FILE_... (Optional)
return array A list of SubmissionFiles.
    function getLatestRevisionsByReviewRound($reviewRound, $fileStage = null)
    {
        if (!$reviewRound) {
            return array();
        }
        return $this->_getInternally($reviewRound->getSubmissionId(), $fileStage, null, null, null, null, $reviewRound->getStageId(), null, null, $reviewRound->getId(), true);
    }