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


class ExportDatDoc extends ExportBasis
{
  
  public function export()
  {
    $this->clearResult();
    $this->exportresults = $this->exportsets;
  }

  
  public function getVarValue($varname)
  {
    switch ($this->getVarCategory($varname)) {
      default: return parent::getVarValue($varname);
      case 'datdoc_': return $this->expCalculation->getVarValue4DatDoc($this->getVarName($varname), $this->exportresults[$this->actualset]);
    }
  }
}