예제 #1
0
파일: lib.php 프로젝트: rboyatt/mahara
 /**
  * @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');
 }
예제 #2
0
파일: lib.php 프로젝트: Br3nda/mahara
 /**
  * @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();
 }