function to get enrolment method start and end date

function to get enrolment method start and end date

by augusto canessa -
Number of replies: 1

At the moment I am getting the start and end date for an enrolment period using a custom SQL based function.

Is the a native function that would return these dates, using as parameters like course id / enrolment method or enrolment id?

I have moodle 3.4

Thank you!

Average of ratings: -
In reply to augusto canessa

Re: function to get enrolment method start and end date

by Austin Powell -
Did you ever find an existing function? I'm looking for the same thing.