45 $this->object_id = $file->create();
53 $title = $post_data[
'title'];
54 $description = $post_data[
'description'];
56 $file->appendUpload($result, $title ?? $result->
getName());
57 $file->setDescription($description);
59 $response->fileName = $file->getFileName();
60 $response->fileSize = $file->getFileSize();
61 $response->fileType = $file->getFileType();
63 $this->uploaded_suffixes[] = $file->getFileExtension();
74 return array_map(
'strtolower', $this->uploaded_suffixes);
Interface ilObjUploadDelegateInterface.
Class ilObjFileSingleFileDelegate.
handle(int $parent_id, array $post_data, UploadResult $result, ilObjFileGUI $gui)
Class ilObjFileUploadResponse.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
GUI class for file objects.