24 require_once(
"./Modules/ScormAicc/classes/AICC/class.ilAICCObject.php");
67 $this->au_type = $a_au_type;
77 $this->command_line = $a_command_line;
87 $this->max_time_allowed = $a_max_time_allowed;
97 $this->time_limit_action = $a_time_limit_action;
107 $this->max_score = $a_max_score;
117 $this->core_vendor = $a_core_vendor;
127 $this->system_vendor = $a_system_vendor;
137 $this->file_name = $a_file_name;
147 $this->mastery_score = $a_mastery_score;
157 $this->web_launch = $a_web_launch;
167 $this->au_password = $a_au_password;
176 $obj_set = $ilDB->queryF(
177 'SELECT * FROM aicc_units WHERE obj_id = %s',
179 array($this->
getId())
181 while($obj_rec = $ilDB->fetchAssoc($obj_set))
206 INSERT INTO aicc_units
220 VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)',
221 array(
'integer',
'text',
'text',
'time',
'text',
'float',
'text',
'text',
'text',
'integer',
'text',
'text'),
222 array( $this->
getId(),
249 max_time_allowed = %s,
250 time_limit_action = %s,
259 array(
'text',
'text',
'time',
'text',
'float',
'text',
'text',
'text',
'integer',
'text',
'text',
'integer'),
281 $q_log =
"DELETE FROM aicc_units WHERE obj_id =".$ilDB->quote($this->
getId());
282 $ilLog->write(
"SAHS Delete(Unit): ".$q_log);
284 'DELETE FROM aicc_units WHERE obj_id = %s',
286 array($this->
getId()));
289 DELETE FROM scorm_tracking
292 array(
'integer',
'integer'),
304 global
$ilDB, $ilUser;
308 $a_user_id = $ilUser->getId();
311 $track_set = $ilDB->queryF(
'
312 SELECT lvalue, rvalue FROM scorm_tracking
316 array(
'integer',
'integer',
'integer'),
320 while ($track_rec = $ilDB->fetchAssoc($track_set))
322 $trdata[$track_rec[
"lvalue"]] = $track_rec[
"rvalue"];
331 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php");