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







class DBWorkWarenkorbDozenten extends DBWorkWarenkorb
{ 
  public $dbdozenten;
  
  public function __construct($pDBTyp = 1, $pNewInstance = false)
  {
    parent::__construct($pDBTyp, $pNewInstance);
    
  }
  
  function cleardata()
  { if (isset($this->data)) unset($this->data);
    $this->data = new WareDozent();
  }
  
  function initiate()
  { $this->sessionvar = "WKD_VAR"; }

  function explodeEntry($exEntry)
  { 
    if (!isset($this->dbdozenten)) {
      $this->dbdozenten = new DBWorkDozenten();
    }
    DBWorkWarenkorb::explodeEntry($exEntry);
    if ($this->data->id<>"") 
      $this->data->dozent = $this->dbdozenten->getDozent($this->data->id);
  }
}
?>