by Jan Philipp Weber.
Hi Daniel,
I thought to myself that it is work with mod_quiz_get_user_attempts, but in my cases, it doesn't work because the attempt which is in progress is not listed.
mod_quiz_get_attempt_access_information:Best regards,
object(stdClass)#21 (5) { ["endtime"]=> int(0)["isfinished"]=> bool(false) ["ispreflightcheckrequired"]=> bool(false) ["preventnewattemptreasons"]=> array(0) { } ["warnings"]=> array(0) { }}
mod_quiz_get_user_attempts:
object(stdClass)#22 (2) { ["attempts"]=> array(0) { } ["warnings"]=> array(0) { }}
mod_quiz_start_attempt:
object(stdClass)#23 (3) { ["exception"]=> string(21) "moodle_quiz_exception" ["errorcode"]=> string(22) "attemptstillinprogress" ["message"]=> string(22) "Versuch dauert noch an"}
Jan Philipp