MDL-44536 workshop: Fix missing phpDoc for user report callbacks

This commit is contained in:
David Mudrák
2014-10-03 10:00:16 +02:00
parent 78ed559f5f
commit ad3d8dbaa3
+8
View File
@@ -255,6 +255,10 @@ function workshop_delete_instance($id) {
* $return->time = the time they did it
* $return->info = a short text description
*
* @param stdClass $course The course record.
* @param stdClass $user The user record.
* @param cm_info|stdClass $mod The course module info object or record.
* @param stdClass $workshop The workshop instance record.
* @return stdclass|null
*/
function workshop_user_outline($course, $user, $mod, $workshop) {
@@ -294,6 +298,10 @@ function workshop_user_outline($course, $user, $mod, $workshop) {
* Print a detailed representation of what a user has done with
* a given particular instance of this module, for user activity reports.
*
* @param stdClass $course The course record.
* @param stdClass $user The user record.
* @param cm_info|stdClass $mod The course module info object or record.
* @param stdClass $workshop The workshop instance record.
* @return string HTML
*/
function workshop_user_complete($course, $user, $mod, $workshop) {