5 require_once(
"./Modules/ScormAicc/classes/AICC/class.ilAICCObject.php");
 
   48                 $this->au_type = $a_au_type;
 
   58                 $this->command_line = $a_command_line;
 
   68                 $this->max_time_allowed = $a_max_time_allowed;
 
   78                 $this->time_limit_action = $a_time_limit_action;
 
   88                 $this->max_score = $a_max_score;
 
   98                 $this->core_vendor = $a_core_vendor;
 
  108                 $this->system_vendor = $a_system_vendor;
 
  118                 $this->file_name = $a_file_name;
 
  128                 $this->mastery_score = $a_mastery_score;
 
  138                 $this->web_launch = $a_web_launch;
 
  148                 $this->au_password = $a_au_password;
 
  157                 $obj_set = $ilDB->queryF(
 
  158                         'SELECT * FROM aicc_units WHERE obj_id = %s',
 
  160                         array($this->
getId())
 
  162                 while($obj_rec = $ilDB->fetchAssoc($obj_set))
 
  187                 INSERT INTO aicc_units  
  201                 VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)',
 
  202                 array(
'integer',
'text',
'text',
'time',
'text',
'float',
'text',
'text',
'text',
'integer',
'text',
'text'), 
 
  203                 array(  $this->
getId(),
 
  230                                 max_time_allowed = %s, 
  231                                 time_limit_action = %s, 
  240                 array(
'text',
'text',
'time',
'text',
'float',
'text',
'text',
'text',
'integer',
'text',
'text',
'integer'),
 
  262                 $q_log = 
"DELETE FROM aicc_units WHERE obj_id =".$ilDB->quote($this->
getId());
 
  263                 $ilLog->write(
"SAHS Delete(Unit): ".$q_log);
 
  265                         'DELETE FROM aicc_units WHERE obj_id = %s',
 
  267                         array($this->
getId()));
 
  270                         DELETE FROM scorm_tracking  
  273                         array(
'integer',
'integer'),
 
  278                 include_once(
"./Services/Tracking/classes/class.ilLPStatusWrapper.php");
 
  290                 global 
$ilDB, $ilUser;
 
  294                         $a_user_id = $ilUser->getId();
 
  297                 $track_set = $ilDB->queryF(
' 
  298                 SELECT lvalue, rvalue FROM scorm_tracking  
  302                 array(
'integer',
'integer',
'integer'),
 
  306                 while ($track_rec = $ilDB->fetchAssoc($track_set))
 
  308                         $trdata[$track_rec[
"lvalue"]] = $track_rec[
"rvalue"];
 
  317                 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php");