|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilObjFileImplementationStorage. More...
Inheritance diagram for ilObjFileImplementationStorage:
Collaboration diagram for ilObjFileImplementationStorage:Public Member Functions | |
| __construct (protected StorableResource $resource) | |
| ilObjFileImplementationStorage constructor. More... | |
| handleChangedObjectTitle (string $new_title) | |
| getFile (?int $a_hist_entry_id=null) | |
| getFileName () | |
| getFileSize () | |
| getFileType () | |
| getDirectory (int $a_version=0) | |
| sendFile (?int $a_hist_entry_id=null, bool $inline=true) | |
| deleteVersions (?array $a_hist_entry_ids=null) | |
| Deletes the specified history entries or all entries if no ids are specified. More... | |
| getFileExtension () | |
| Returns the extension of the file name converted to lower-case. More... | |
| getVersions (?array $version_ids=null) | |
| getStorageID () | |
| getVersion (bool $inclduing_drafts=false) | |
| getMaxVersion () | |
Protected Attributes | |
| Services | $storage |
Class ilObjFileImplementationStorage.
Definition at line 28 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::__construct | ( | protected StorableResource | $resource | ) |
ilObjFileImplementationStorage constructor.
Definition at line 35 of file class.ilObjFileImplementationStorage.php.
References $DIC.
| ilObjFileImplementationStorage::deleteVersions | ( | ?array | $a_hist_entry_ids = null | ) |
Deletes the specified history entries or all entries if no ids are specified.
| array | null | $a_hist_entry_ids | The ids of the entries to delete or null to delete all entries |
Implements ilObjFileImplementationInterface.
Definition at line 109 of file class.ilObjFileImplementationStorage.php.
References $id.
| ilObjFileImplementationStorage::getDirectory | ( | int | $a_version = 0 | ) |
Implements ilObjFileImplementationInterface.
Definition at line 79 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getFile | ( | ?int | $a_hist_entry_id = null | ) |
Implements ilObjFileImplementationInterface.
Definition at line 52 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getFileExtension | ( | ) |
Returns the extension of the file name converted to lower-case.
e.g. returns 'pdf' for 'document.pdf'.
Implements ilObjFileImplementationInterface.
Definition at line 118 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getFileName | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 61 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getFileSize | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 66 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getFileType | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 74 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getMaxVersion | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 183 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getStorageID | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 166 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getVersion | ( | bool | $inclduing_drafts = false | ) |
Implements ilObjFileImplementationInterface.
Definition at line 171 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::getVersions | ( | ?array | $version_ids = null | ) |
Implements ilObjFileImplementationInterface.
Definition at line 126 of file class.ilObjFileImplementationStorage.php.
References ILIAS\ResourceStorage\Revision\DRAFT.
| ilObjFileImplementationStorage::handleChangedObjectTitle | ( | string | $new_title | ) |
Implements ilObjFileImplementationInterface.
Definition at line 42 of file class.ilObjFileImplementationStorage.php.
| ilObjFileImplementationStorage::sendFile | ( | ?int | $a_hist_entry_id = null, |
| bool | $inline = true |
||
| ) |
| bool | $inline |
Implements ilObjFileImplementationInterface.
Definition at line 90 of file class.ilObjFileImplementationStorage.php.
|
protected |
Definition at line 30 of file class.ilObjFileImplementationStorage.php.