PHP reporting class not working - Certificate Module

PHP reporting class not working - Certificate Module

by Richard Danvers -
Number of replies: 0
Hi, i've attempted to write a php class for the certificate module which checks the database to see if the user has a scorm package under the same course marked as complete - if so they have access to the certificate activity otherwise they are shown an error. I have inserted this within the view.php module and it seems to display a blank page. Any ideas why this is not working or how to debug moodle code? 


php code

Average of ratings: -