24require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
 
   49        parent::__construct($a_id);
 
   52        $this->
setTitle($lng->txt(
'cont_resources'));
 
   62        $this->xml_base = $a_xml_base;
 
   71        $obj_set = 
$ilDB->queryF(
 
   72            'SELECT xml_base FROM sc_resources WHERE obj_id = %s',
 
   76        $obj_rec = 
$ilDB->fetchAssoc($obj_set);
 
   87            'INSERT INTO sc_resources (obj_id, xml_base) VALUES (%s, %s)',
 
   88            array(
'integer', 
'text'),
 
  101                        UPDATE sc_resources SET xml_base = %s WHERE obj_id = %s',
 
  102            array(
'text', 
'integer'),
 
  107    public function delete()
 
  114            'DELETE FROM sc_resources WHERE obj_id = %s',
 
  116            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.
update($pash, $contents, Config $config)