color: #FFF; margin-top:20px; } thead { text-decoration:none; font-size: 12px !important; color: black; } td { background-color: #FFF; color: black; } a{ text-decoration: none; color: black; } input[type=checkbox]{ display:none; } </style> '. getWatchlistByCoursePdf($cid); $exportresult->report_download_pdf($contents1); } ?>
$coursid= optional_param('courseid', -1, PARAM_INT); // getting course id if($coursid !=-1) { echo getWatchlistByCourse($coursid); // to get list of watchlisted people of a course } // Get all courses along with sections and labs $courid= optional_param('courid', -1, PARAM_INT); // getting course id if($courid !=-1) { echo getWatchlistByCoursePdf($courid); // to get list of watchlisted people of a course } /* * $cid is course id * getWatchedByCourse( $courseid) To Get a table of watchlisted people of given course * Outline Report url : $CFG->wwwroot/report/outline/user.php?id=$userid&course=$courseid&mode=outline * Profile Url : $CFG->wwwroot . '/teacher/student_profile.php?sid=$userid * * To get completed activity ids of a course till yesterday