PKPSubmissionFileDAO::_getDaoDelegateForGenreId PHP Method

_getDaoDelegateForGenreId() private method

Instantiates an approprate SubmissionFileDAODelegate based on the given genre identifier.
private _getDaoDelegateForGenreId ( $genreId ) : SubmissionFileDAODelegate
$genreId integer
return SubmissionFileDAODelegate
    private function _getDaoDelegateForGenreId($genreId)
    {
        // Find the required file implementation.
        $fileImplementation = $this->_getFileImplementationForGenreId($genreId);
        // Return the DAO delegate.
        return $this->_getDaoDelegate($fileImplementation);
    }