<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\KuferTools\Dozent\KursUebersicht\Detailsreiter\FeedbackBogen;

class FeedbackBogenUseCase extends \Kufer\KuferTools\Basis\Kursdetails\DetailsReiter\FeedbackBogen\FeedbackBogenUseCase
{
  public function __construct($pRequest)
  {
    parent::__construct($pRequest);
    
    $user = $this->getUser();
    $this->userNr = $user->dnr;
    
    $this->doAnonym = false;
  }

  public static function getToolId()
  {
    return \ToolsAPI::TOOL_KURSUEBERSICHT_DOZ; 
  }

  public static function getToolSectionId()
  {
    return 334;
  }

  protected function getRechteKey()
  {
    
    return $this->getToolSectionId() . '.0.9';
  }

  
  protected function getBogenTyp()
  {
    return 'D';
  }

  
  protected function getForwardBackwardLink()
  {
    return 'index.php?tool_id=' . $this->getToolId() . '&amp;action=showFeedbackBogen&amp;knr=' . $this->request->knr;
  }

  protected function getBackToStartLink()
  {
    return 'index.php?tool_id=' . $this->getToolId() . '&amp;action=kursdetails&amp;knr=' . $this->request->knr;
  }
}