24 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
50 parent::__construct($a_id);
63 $this->xml_base = $a_xml_base;
73 $obj_set =
$ilDB->queryF(
74 'SELECT xml_base FROM sc_resources WHERE obj_id = %s',
78 $obj_rec =
$ilDB->fetchAssoc($obj_set);
90 'INSERT INTO sc_resources (obj_id, xml_base) VALUES (%s, %s)',
91 array(
'integer',
'text'),
105 UPDATE sc_resources SET xml_base = %s WHERE obj_id = %s',
106 array(
'text',
'integer'),
111 public function delete()
114 $ilDB = $DIC[
'ilDB'];
119 'DELETE FROM sc_resources WHERE obj_id = %s',
121 array($this->
getId())
Parent object for all SCORM objects, that are stored in table scorm_object.
update($pash, $contents, Config $config)
__construct($a_id=0)
Constructor.