예제 #1
0
 function delete()
 {
     global $ilDB;
     parent::delete();
     $ilDB->manipulateF('DELETE FROM sc_resource WHERE obj_id = %s', array('integer'), array($this->getId()));
     $ilDB->manipulateF('DELETE FROM sc_resource_file WHERE res_id = %s', array('integer'), array($this->getId()));
     $ilDB->manipulateF('DELETE FROM sc_resource_dependen WHERE res_id = %s', array('integer'), array($this->getId()));
 }
 function delete()
 {
     global $ilDB;
     parent::delete();
     $query = 'DELETE FROM sc_organization WHERE obj_id = %s';
     $ilDB->manipulateF($query, array('integer'), array($this->getId()));
 }
예제 #3
0
 function delete()
 {
     global $ilDB;
     parent::delete();
     $ilDB->manipulateF('DELETE FROM sc_manifest WHERE obj_id = %s', array('integer'), array($this->getId()));
 }
 function delete()
 {
     global $ilDB, $ilLog;
     parent::delete();
     $ilDB->manipulateF('DELETE FROM sc_item WHERE obj_id = %s', array('integer'), array($this->getId()));
     $ilLog->write("SAHS Delete(ScormItem): " . 'DELETE FROM scorm_tracking WHERE sco_id = ' . $this->getId() . ' AND obj_id = ' . $this->getSLMId());
     $ilDB->manipulateF('DELETE FROM scorm_tracking WHERE sco_id = %s AND obj_id = %s', array('integer', 'integer'), array($this->getId(), $this->getSLMId()));
     include_once "./Services/Tracking/classes/class.ilLPStatusWrapper.php";
     ilLPStatusWrapper::_refreshStatus($this->getSLMId());
 }