19 declare(strict_types=1);
    28     protected string $rid = 
"";
    33         protected int $obj_id,
    34         protected string $type = 
""    42     public function init(
string $zipname = 
"") : string
    44         if ($this->rid !== 
"") {
    45             throw $this->data->exportException(
"HTML Export has been initialised twice.");
    47         if ($zipname === 
"") {
    52         $this->rid = $this->repo->create(
    70         if ($this->rid === 
"") {
    71             throw $this->data->exportException(
"HTML Export has not been initialised.");
    73         $this->repo->addString(
    87         if ($this->rid === 
"") {
    88             throw $this->data->exportException(
"HTML Export has not been initialised.");
   104         if ($this->rid === 
"") {
   105             throw $this->data->exportException(
"HTML Export has not been initialised.");
   107         $this->repo->addDirectory(
   115         string $source_container_id,
   116         string $source_dir_path = 
"",
   117         string $target_dir_path = 
""   119         if ($this->rid === 
"") {
   120             throw $this->data->exportException(
"HTML Export has not been initialised.");
   122         $this->repo->addContainerDirToTargetContainer(
   123             $source_container_id,
   132         return $this->repo->getFilePath($this->rid);
   137         $this->repo->deliverFile($this->rid);
   140     public function delete() : 
void   142         $this->repo->delete($this->obj_id, $this->rid);
 
addFile(string $fullpath, string $target_path)
 
addDirectory(string $source_dir, string $target_path)
 
addContainerDirectory(string $source_container_id, string $source_dir_path="", string $target_dir_path="")
 
deliver(string $filename)
 
__construct(protected DataService $data, protected ExportFileDBRepository $repo, protected int $obj_id, protected string $type="")
 
static _lookupType(int $id, bool $reference=false)
 
addString(string $content, string $path)