Example #1
0
 /**
  * @param string $basepath The relative path to the root of the generated export
  */
 public function __construct($basepath, &$exporter = null)
 {
     $this->basepath = preg_replace('#/$#', '', $basepath);
     $this->htmlexportcopyproxy = HtmlExportCopyProxy::singleton();
     $this->exporter = $exporter;
     $this->owner = $exporter->get('user')->get('id');
 }
Example #2
0
 /**
  * @param string $basepath The relative path to the root of the generated export
  */
 public function __construct($basepath)
 {
     $this->basepath = preg_replace('#/$#', '', $basepath);
     $this->htmlexportcopyproxy = HtmlExportCopyProxy::singleton();
 }