Record to database if lesson conditions are not achieved

Record to database if lesson conditions are not achieved

par Kerri McCusker,
Nombre de réponses : 1

Hello

I want to record for each user if they have failed to meet a lesson condition i.e. not achieved >#% and/or not spent enough time within a course. (I already have a custom table where this data can be sent to). 

Is it best to use the variables are already declared in mod/lesson/view.php and send them to the database

Kerri 

Moyenne des évaluations  -
En réponse à Kerri McCusker

Re: Record to database if lesson conditions are not achieved

par Joseph Rézeau,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers Avatar Translators

Hello Kerri,

I am not sure I understand what you are wanting to do. But since this looks like a development feature I advise re-posting your question to the General developer forum.

Joseph