get the quiz id based on question attempt object

get the quiz id based on question attempt object

deur Alan Padiernos -
Getal antwoorde: 2

Hi,

Is it possible to get the quiz object or quiz id using the question attempt object?

Thanks

Gemiddeld van beoordelings: -
In antwoord op Alan Padiernos

Re: get the quiz id based on question attempt object

deur Tim Hunt -
Prentjie van Core developers Prentjie van Documentation writers Prentjie van Particularly helpful Moodlers Prentjie van Peer reviewers Prentjie van Plugin developers

question_attempts.questionusageid == question_usages.id ==quiz_attempts.uniqueid

quiz_attempts.quiz == quiz.id

Gemiddeld van beoordelings: -
In antwoord op Alan Padiernos

Re: get the quiz id based on question attempt object

deur Alan Padiernos -
Hi Tim,

Thank you so much! You save my day!


Cheers,

Alan

Gemiddeld van beoordelings: -