ILIAS  release_7 Revision v7.30-3-g800a261c036
interface.ilObjFileImplementationInterface.php
Go to the documentation of this file.
1 <?php
2 
8 {
14  public function getDirectory($a_version = 0);
15 
20  public function createDirectory();
21 
30  public function replaceFile($a_upload_file, $a_filename);
31 
35  public function clearDataDirectory();
36 
42  public function deleteVersions($a_hist_entry_ids = null);
43 
48  public function setFileType($a_type);
49 
53  public function getFileType();
54 
55  public function getStorageID() : ?string;
56 
61  public function setFileSize($a_size);
62 
63  public function handleChangedObjectTitle(string $new_title);
64 
65  public function getFileSize();
66 
72  public function getFile($a_hist_entry_id = null);
73 
78  public function setVersion($a_version);
79 
80  public function getVersion();
81 
86  public function setMaxVersion($a_max_version);
87 
88  public function getMaxVersion();
89 
95  public function sendFile($a_hist_entry_id = null);
96 
101  public function getFileExtension();
102 
110  public function storeUnzipedFile($a_upload_file, $a_filename);
111 
129  public function getVersions($version_ids = null) : array;
130 
134  public function export(string $target_dir) : void;
135 }
getFileExtension()
Returns the extension of the file name converted to lower-case.
sendFile($a_hist_entry_id=null)
handleChangedObjectTitle(string $new_title)
Interface ilObjFileImplementationInterface.
getVersions($version_ids=null)
Gets the file versions for this object.
storeUnzipedFile($a_upload_file, $a_filename)
deleteVersions($a_hist_entry_ids=null)
Deletes the specified history entries or all entries if no ids are specified.
getFile($a_hist_entry_id=null)
export(string $target_dir)
replaceFile($a_upload_file, $a_filename)