53 $this->
ilias = $ilias;
78 $this->objType = $a_objType;
88 $this->title = $a_title;
98 $this->description = $a_description;
108 $this->developer_id = $a_developer_id;
118 $this->system_id = $a_system_id;
128 $this->alm_id = $a_alm_id;
132 $string = addslashes($string);
140 $obj_set = $ilDB->queryF(
'SELECT * FROM aicc_object WHERE obj_id = %s',
142 while($obj_rec = $ilDB->fetchAssoc($obj_set))
145 $this->
setType($obj_rec[
"c_type"]);
146 $this->
setALMId($obj_rec[
"alm_id"]);
157 $nextId = $ilDB->nextId(
'aicc_object');
159 $ilDB->insert(
'aicc_object',
array(
160 'obj_id' =>
array(
'integer', $nextId),
169 $this->
setId($nextId);
176 $ilDB->update(
'aicc_object',
195 $statement = $ilDB->manipulateF(
'DELETE FROM aicc_object WHERE obj_id = %s',
208 $sc_set = $ilDB->queryF(
' 209 SELECT c_type FROM aicc_object 212 array(
'integer',
'integer'),
213 array($a_id,$a_slm_id)
216 while($sc_rec = $ilDB->fetchAssoc($sc_set))
221 switch($sc_rec[
"c_type"])
224 include_once(
"./Modules/ScormAicc/classes/AICC/class.ilAICCBlock.php");
230 include_once(
"./Modules/ScormAicc/classes/AICC/class.ilAICCUnit.php");
236 include_once(
"./Modules/ScormAicc/classes/AICC/class.ilAICCCourse.php");
Parent object for all AICC objects, that are stored in table aicc_object.
setDeveloperId($a_developer_id)
& _getInstance($a_id, $a_slm_id)
get instance of specialized GUI class
__construct($a_id=0)
Constructor.
redirection script todo: (a better solution should control the processing via a xml file) ...
Create styles array
The data for the language used.
setSystemId($a_system_id)
setDescription($a_description)