Record to database if lesson conditions are not achieved

Record to database if lesson conditions are not achieved

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 

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -
In reply to Kerri McCusker

Re: Record to database if lesson conditions are not achieved

Joseph Rézeau - මගින්
Core developers ගේ පින්තුරය Particularly helpful Moodlers ගේ පින්තුරය Plugin developers ගේ පින්තුරය Testers ගේ පින්තුරය 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

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -