5 require_once(
"./Modules/ScormAicc/classes/AICC/class.ilAICCObject.php");
37 parent::__construct($a_id);
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',
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'),
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',
270 DELETE FROM scorm_tracking 273 array(
'integer',
'integer'),
278 include_once(
"./Services/Tracking/classes/class.ilLPStatusWrapper.php");
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");
Parent object for all AICC objects, that are stored in table aicc_object.
setCommand_line($a_command_line)
setMaxTimeAllowed($a_max_time_allowed)
setSystemVendor($a_system_vendor)
static _refreshStatus($a_obj_id, $a_users=null)
Set dirty.
setAUPassword($a_au_password)
setFilename($a_file_name)
setMaxScore($a_max_score)
setTimeLimitAction($a_time_limit_action)
setWebLaunch($a_web_launch)
Create styles array
The data for the language used.
getTrackingDataOfUser($a_user_id=0)
get tracking data of specified or current user
static _insertTrackData($a_sahs_id, $a_lval, $a_rval, $a_obj_id)
setCoreVendor($a_core_vendor)
__construct($a_id=0)
Constructor.
insertTrackData($a_lval, $a_rval, $a_obj_id)
setMasteryScore($a_mastery_score)