From 3abaab93a23749fc602f596f9ab8d00abac05138 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 9 Sep 2007 17:42:15 +0200 Subject: [PATCH] [svn r12969] Added cmi.student_data._children Removed cmi.student_data.launch_data --- main/newscorm/scorm_api.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main/newscorm/scorm_api.php b/main/newscorm/scorm_api.php index be9cd42875..437d2447df 100644 --- a/main/newscorm/scorm_api.php +++ b/main/newscorm/scorm_api.php @@ -271,16 +271,16 @@ function LMSGetValue(param) { }else if(param == 'cmi.objectives._count'){ //result='get_view_count();?>'; result = 0; - }else if(param == 'cmi.interactions._count'){ - result = interactions.length; - }else if(param == 'cmi.interactions._children'){ - result = 'id,time,type,correct_responses,weighting,student_response,result,latency'; + }else if(param == 'cmi.student_data._children'){ + result = 'mastery_score,max_time_allowed'; }else if(param == 'cmi.student_data.mastery_score'){ result = mastery_score; - }else if(param == 'cmi.student_data.launch_data'){ - result = launch_data; }else if(param == 'cmi.student_data.max_time_allowed'){ result = max_time_allowed; + }else if(param == 'cmi.interactions._count'){ + result = interactions.length; + }else if(param == 'cmi.interactions._children'){ + result = 'id,time,type,correct_responses,weighting,student_response,result,latency'; }else{ result = ''; G_lastError = G_NotImplementedError;