/**
  * Удаление вопроса
  * @return void
  */
 public function removeAction()
 {
     if ($this->_authorize('question', 'remove')) {
         $objQuestions = new Questions();
         $arrParams = $this->getRequest()->getParams();
         if (array_key_exists('questionId', $arrParams) && !empty($arrParams['questionId'])) {
             $objQuestions->removeQuestionById($arrParams['questionId']);
         }
         if (array_key_exists('testId', $arrParams) && !empty($arrParams['testId'])) {
             $testId = (int) $arrParams['testId'];
             $this->_helper->redirector('edit', 'test', null, array('testId' => $testId));
         } else {
             $this->_helper->redirector('index', 'test');
         }
     }
 }