/** * Get submission email log entries by submission ID and event type * @param $submissionId int * @param $eventType SUBMISSION_EMAIL_... * @param $userId int optional Return only emails sent to this user. * @return DAOResultFactory */ function getByEventType($submissionId, $eventType, $userId = null) { return parent::getByEventType(ASSOC_TYPE_SUBMISSION, $submissionId, $eventType, $userId); }
/** * Get monograph file email log entries by file ID and event type. * @param $fileId int * @param $eventType int SUBMISSION_EMAIL_... * @param $userId int optional Return only emails sent to this user. * @return DAOResultFactory */ function getByEventType($fileId, $eventType, $userId = null) { return parent::getByEventType(ASSOC_TYPE_SUBMISSION_FILE, $fileId, $eventType, $userId); }