I am able to reach to:
$attemptobj->get_quiz()
and everything is fine.
but when I try:
$attemptobj->get_quiz()->get_context()
I get an error.
I need the context so this will work:
question_engine_data_mapper::delete_steps($attemptobj->get_active_slots($thispage),$attemptobj->get_quiz()->get_context());
If you can help me, how do I reach the quiz context, I'll be very grateful.