/**
  * Get current values for assignment from
  *
  */
 public function getAssignmentValues()
 {
     $values = array();
     $ass = new ilEphAssignment($_GET["ass_id"]);
     $values["title"] = $ass->getTitle();
     if ($ass->getStartTime() > 0) {
         $values["start_time"] = true;
     }
     $values["mandatory"] = $ass->getMandatory();
     $values["instruction"] = $ass->getInstruction();
     $this->form->setValuesByArray($values);
     $edit_date = new ilDateTime($ass->getDeadline(), IL_CAL_UNIX);
     $ed_item = $this->form->getItemByPostVar("deadline");
     $ed_item->setDate($edit_date);
     if ($ass->getStartTime() > 0) {
         $edit_date = new ilDateTime($ass->getStartTime(), IL_CAL_UNIX);
         $ed_item = $this->form->getItemByPostVar("start_time");
         $ed_item->setDate($edit_date);
     }
 }