31        $this->assignment_id = $a_id;
 
   41        $this->container_id = $a_id;
 
   51        $this->assignment_type = 
$a_type;
 
   61        $this->objective_id = $a_id;
 
   71        $this->test_ref_id = $a_id;
 
  103        $query = 
'INSERT INTO loc_tst_assignments (assignment_id, container_id, assignment_type, objective_id, tst_ref_id) ' .
 
  125        $query = 
'UPDATE loc_tst_assignments ' .
 
  139    public function delete()
 
  145        $query = 
'DELETE FROM loc_tst_assignments ' .
 
  166        $query = 
'SELECT * FROM loc_tst_assignments ' .
 
  185        include_once 
'./Services/CopyWizard/classes/class.ilCopyWizardOptions.php';
 
  187        $mappings = $options->getMappings();
 
  189        if (!array_key_exists($this->
getTestRefId(), $mappings)) {
 
  194        $copy->setContainerId($a_target_id);
 
  196        $copy->setObjectiveId($a_objective_id);
 
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
An exception for terminatinating execution or to throw for unit testing.
static _getInstance($a_copy_id)
Get instance of copy wizard options.
read()
Read db entry @global type $ilDB.
setAssignmentType($a_type)
update()
Update assignment @global type $ilDB.
cloneSettings($a_copy_id, $a_target_id, $a_objective_id)
Clone assignments.
create()
Create new aassignment @global type $ilDB.
__construct($a_id=0)
constructor
foreach($_POST as $key=> $value) $res