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


class ExpBasis extends Exportadapter
{
  
  public function initiate()
  {
    $this->export = new ExportBasis();
  }

  
  public function simpleReplace(string $string, array $exportResults = array()): string
  {
    if (count($exportResults) == 0) {
      $exportResults = array(new Datamodul());
    }
    $this->filestream = $string;
    $this->export->initiate();
    $this->export->exportresults = $exportResults;
    $this->replaceVarNames();

    return $this->resultlist[0];
  }
}