ILIAS
release_8 Revision v8.19
|
Class ilObjFileUnzipFlatProcessor. More...
Public Member Functions | |
process (ResourceIdentification $rid, array $options=[]) | |
Processes a given resource for the given arguments. More... | |
![]() | |
__construct (ResourceStakeholder $stakeholder, ilObjFileGUI $gui_object, Services $storage, ilFileServicesSettings $settings, $tree) | |
![]() | |
__construct (ResourceStakeholder $stakeholder, ilObjFileGUI $gui_object, Services $storage, ilFileServicesSettings $settings) | |
getInvalidFileNames () | |
Additional Inherited Members | |
![]() | |
const | OPTION_FILENAME = 'title' |
const | OPTION_DESCRIPTION = 'description' |
const | OPTIONS |
![]() | |
createSurroundingContainer (ResourceIdentification $rid) | |
createContainerObj (string $dir_name, int $parent_id, array $options=[]) | |
Creates a container object depending on the parent's node type and returns it. More... | |
openZip (ResourceIdentification $rid) | |
Opens the zip archive of the given resource. More... | |
getZipFiles () | |
Yields the file-paths of the currently open zip-archive. More... | |
hasMultipleRootEntriesInZip () | |
getZipDirectories () | |
Yields the directory-paths of the currently open zip-archive. More... | |
storeZippedFile (string $file_path) | |
Creates an IRSS resource from the given filepath. More... | |
closeZip () | |
Closes the currently open zip-archive. More... | |
isWorkspace () | |
Returns whether the current context is workspace. More... | |
![]() | |
createFileObj (ResourceIdentification $rid, int $parent_id, array $options=[], bool $create_reference=false) | |
Creates an ilObjFile instance for the provided information. More... | |
applyOptions (ilObject $obj, array $options) | |
Apply provided options to the given object. More... | |
![]() | |
bool | $create_base_container_for_multiple_root_entries = false |
Unzip on operating systems may behave differently when unzipping if there are only one or more root nodes in the zip. More... | |
![]() | |
ilFileServicesPolicy | $policy |
ilFileServicesSettings | $settings |
ilCountPDFPages | $page_counter |
Services | $storage |
ResourceStakeholder | $stakeholder |
ilObjFileGUI | $gui_object |
array | $invalid_file_names = [] |
Class ilObjFileUnzipFlatProcessor.
Definition at line 26 of file class.ilObjFileUnzipFlatProcessor.php.
ilObjFileUnzipFlatProcessor::process | ( | ResourceIdentification | $rid, |
array | $options = [] |
||
) |
Processes a given resource for the given arguments.
array<string,mixed> | $options |
Implements ilObjFileProcessorInterface.
Definition at line 28 of file class.ilObjFileUnzipFlatProcessor.php.
References ilObjFileAbstractZipProcessor\closeZip(), ilObjFileAbstractProcessor\createFileObj(), ilObjFileAbstractZipProcessor\createSurroundingContainer(), ilObjFileAbstractZipProcessor\getZipFiles(), ilObjFileAbstractZipProcessor\openZip(), and ilObjFileAbstractZipProcessor\storeZippedFile().