PKPSubmissionFileDAO::getAllRevisionsByAssocId PHP Method

getAllRevisionsByAssocId() public method

Retrieve all files associated to a certain object.
public getAllRevisionsByAssocId ( $assocType, $assocId, $fileStage = null, $rangeInfo = null ) : array | null
$assocType int ASSOC_TYPE_...
$assocId int ID corresponding to specified assocType.
$fileStage int (optional) further restricts the selection to a given file stage.
$rangeInfo DBResultRange (optional)
return array | null a list of SubmissionFile instances
    function getAllRevisionsByAssocId($assocType, $assocId, $fileStage = null, $rangeInfo = null)
    {
        if (!($assocType && $assocId)) {
            return null;
        }
        return $this->_getInternally(null, $fileStage, null, null, $assocType, $assocId, null, null, null, null, false, $rangeInfo);
    }