I have a course in moodle called "test" and it follows the topics format. Now each topic contains set of activities. I want to know the status of the every section of that course.
Eg. if all the activities under that section has been completed then that section is to be considered complete. If none of the activity in that section has been started then that section is considered as not started. Is there any function available which can return the section status .
or is there any function available which can return the status of activity, in this case we can pass the id of that activity and user id.