From 598219a11df95ff8e8eb6845be2f98f8fc27fa78 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 21 Nov 2007 15:43:17 +0100 Subject: [PATCH] [svn r13728] Minor - Added comments to exercise_attempt() --- main/inc/lib/events.lib.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main/inc/lib/events.lib.inc.php b/main/inc/lib/events.lib.inc.php index 6a57085afa..e53e1507e9 100644 --- a/main/inc/lib/events.lib.inc.php +++ b/main/inc/lib/events.lib.inc.php @@ -496,6 +496,14 @@ function event_exercice($exo_id, $score, $weighting) //return 0; } +/** + * Record an event for this attempt at answering an exercise + * @param float Score achieved + * @param string Answer given + * @param integer Question ID + * @param integer Exercise ID + * @param integer Position + */ function exercise_attempt($score,$answer,$quesId,$exeId,$j) { global $_configuration;