Record to database if lesson conditions are not achieved

Record to database if lesson conditions are not achieved

by Kerri McCusker -
Number of replies: 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 

Average of ratings: -
In reply to Kerri McCusker

Re: Record to database if lesson conditions are not achieved

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of 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