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


namespace Kufer\KuferTools\Ausgaben\SammelEMail\EmailTasks;

class EMailSenderAnDozenten extends EmailSender
{
 
  
  public function isUploadFault() {
    return false;
  }

  
   public function getAttachStrategy($pToolId='', $pIsTnListAnhang = false) {
     $attachStrategy = Null;
       
      
      if ($pIsTnListAnhang)  {
          
        
        $content = \KontaktUserAPI::getContent4PDFList($this->kursId, $pToolId);
        $attachStrategy = new \TextAttachmentStrategy($content);
      }
      return $attachStrategy;
  } 
  
  
  public function deleteAnhangFiles() {
  }
  
  
  protected function getUserBez() {
    
      
    return 'Dozent';
  }
}