ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
handleChangedObjectTitle(string $new_title)
getDirectory(int $a_version=0)
getFile(?int $a_hist_entry_id=null)
deleteVersions(?array $a_hist_entry_ids=null)
Deletes the specified history entries or all entries if no ids are specified.
sendFile(?int $a_hist_entry_id=null, bool $inline=true)
getFileExtension()
Returns the extension of the file name converted to lower-case.
getVersions(?array $version_ids=null)
Gets the file versions for this object.
getVersion(bool $inclduing_drafts=false)