24require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
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()
119 'DELETE FROM sc_resources WHERE obj_id = %s',
121 array($this->
getId())
An exception for terminatinating execution or to throw for unit testing.
Parent object for all SCORM objects, that are stored in table scorm_object.
update()
Updates database record for SCORM object.
__construct($a_id=0)
Constructor.
create()
Create database record for SCORM object.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc