/**
  * Удаление одного билета
  */
 public function actionDel()
 {
     $question = CExamManager::getQuestion(CRequest::getInt("id"));
     if (!is_null($question)) {
         $question->remove();
     }
     $this->redirect("?action=index");
 }
 public function actionDelete()
 {
     $object = CExamManager::getQuestion(CRequest::getInt("id"));
     $plan = $object->plan_id;
     $type = $object->type;
     $object->remove();
     $this->redirect("workplanexamquestions.php?action=index&plan_id=" . $plan . "&type=" . $type);
 }