35 ?
string $title =
null,
36 ?
string $description =
null,
37 ?
string $copyright_id =
null 40 $base_node = $this->gui_object->getParentId();
47 $this->path_map[
'./'] = $base_node;
52 $dir_name = dirname($directory) .
'/';
53 $parent_id_of_iteration = (
int) ($this->path_map[$dir_name] ?? $base_node);
56 $this->path_map[$directory] = (
int) $obj->getRefId();
61 $dir_name = dirname($file_path) .
'/';
62 $parent_id_of_iteration = (
int) ($this->path_map[$dir_name] ?? $base_node);
67 $parent_id_of_iteration,
getZipFiles()
Yields the file-paths of the currently open zip-archive.
createSurroundingContainer(ResourceIdentification $rid)
getZipDirectories()
Yields the directory-paths of the currently open zip-archive.
Class ilObjFileAbstractZipProcessor.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ResourceIdentification.
storeZippedFile(string $file_path)
Creates an IRSS resource from the given filepath.
hasMultipleRootEntriesInZip()
closeZip()
Closes the currently open zip-archive.
openZip(ResourceIdentification $rid)
Opens the zip archive of the given resource.
createFileObj(ResourceIdentification $rid, int $parent_id, ?string $title=null, ?string $description=null, ?string $copyright_id=null, bool $create_reference=false)
Creates an ilObjFile instance for the provided information.
Class ilObjFileUnzipRecursiveProcessor.
createContainerObj(string $dir_name, int $parent_id)
Creates a container object depending on the parent's node type and returns it.
process(ResourceIdentification $rid, ?string $title=null, ?string $description=null, ?string $copyright_id=null)
Processes a given resource for the given arguments.