ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
interface.ilObjFileImplementationInterface.php
Go to the documentation of this file.
1 <?php
2 
24 {
28  public function getDirectory(int $a_version = 0): string;
29 
35  public function deleteVersions(?array $a_hist_entry_ids = null): void;
36 
37  public function getFileType(): string;
38 
39  public function getStorageID(): ?string;
40 
41  public function getFileSize(): int;
42 
43  public function getFileName(): string;
44 
48  public function getFile(?int $a_hist_entry_id = null): string;
49 
50  public function getVersion(bool $inclduing_drafts = false): int;
51 
52  public function getMaxVersion(): int;
53 
58  public function sendFile(?int $a_hist_entry_id = null, bool $inline = true): void;
59 
60  public function handleChangedObjectTitle(string $new_title): void;
61 
66  public function getFileExtension(): string;
67 
85  public function getVersions(?array $version_ids = null): array;
86 }
sendFile(?int $a_hist_entry_id=null, bool $inline=true)
getFileExtension()
Returns the extension of the file name converted to lower-case.
getVersion(bool $inclduing_drafts=false)
handleChangedObjectTitle(string $new_title)
getFile(?int $a_hist_entry_id=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getVersions(?array $version_ids=null)
Gets the file versions for this object.
getDirectory(int $a_version=0)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
deleteVersions(?array $a_hist_entry_ids=null)
Deletes the specified history entries or all entries if no ids are specified.