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

This commit is contained in:
David Mudrák
2014-10-03 10:01:22 +02:00
parent 9e22a6008b
commit 1399d7bf0f
+8
View File
@@ -256,6 +256,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) {
@@ -295,6 +299,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) {