ILIAS  release_8 Revision v8.24
ilObjFileImplementationEmpty Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilObjFileImplementationEmpty:
+ Collaboration diagram for ilObjFileImplementationEmpty:

Public Member Functions

 getDirectory (int $a_version=0)
 
 deleteVersions (?array $a_hist_entry_ids=null)
 Deletes the specified history entries or all entries if no ids are specified. More...
 
 getFileType ()
 
 handleChangedObjectTitle (string $new_title)
 
 getStorageID ()
 
 getFileSize ()
 
 getFile (?int $a_hist_entry_id=null)
 
 getVersion ()
 
 getMaxVersion ()
 
 sendFile (?int $a_hist_entry_id=null, bool $inline=true)
 
 getFileExtension ()
 Returns the extension of the file name converted to lower-case. More...
 
 getVersions (?array $version_ids=null)
 Gets the file versions for this object. More...
 
 getDirectory (int $a_version=0)
 
 deleteVersions (?array $a_hist_entry_ids=null)
 Deletes the specified history entries or all entries if no ids are specified. More...
 
 getFileType ()
 
 getStorageID ()
 
 getFileSize ()
 
 getFile (?int $a_hist_entry_id=null)
 
 getVersion ()
 
 getMaxVersion ()
 
 sendFile (?int $a_hist_entry_id=null, bool $inline=true)
 
 handleChangedObjectTitle (string $new_title)
 
 getFileExtension ()
 Returns the extension of the file name converted to lower-case. More...
 
 getVersions (?array $version_ids=null)
 Gets the file versions for this object. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjFileImplementationAbstract

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 23 of file class.ilObjFileImplementationEmpty.php.

Member Function Documentation

◆ deleteVersions()

ilObjFileImplementationEmpty::deleteVersions ( ?array  $a_hist_entry_ids = null)

Deletes the specified history entries or all entries if no ids are specified.

Parameters
array | null$a_hist_entry_idsThe ids of the entries to delete or null to delete all entries
Deprecated:

Implements ilObjFileImplementationInterface.

Definition at line 30 of file class.ilObjFileImplementationEmpty.php.

30 : void
31 {
32 // TODO: Implement deleteVersions() method.
33 }

◆ getDirectory()

ilObjFileImplementationEmpty::getDirectory ( int  $a_version = 0)
Deprecated:

Implements ilObjFileImplementationInterface.

Definition at line 25 of file class.ilObjFileImplementationEmpty.php.

25 : string
26 {
27 return '';
28 }

◆ getFile()

ilObjFileImplementationEmpty::getFile ( ?int  $a_hist_entry_id = null)
Deprecated:

Implements ilObjFileImplementationInterface.

Definition at line 55 of file class.ilObjFileImplementationEmpty.php.

55 : string
56 {
57 return '';
58 }

◆ getFileExtension()

ilObjFileImplementationEmpty::getFileExtension ( )

Returns the extension of the file name converted to lower-case.

e.g. returns 'pdf' for 'document.pdf'.

Implements ilObjFileImplementationInterface.

Definition at line 74 of file class.ilObjFileImplementationEmpty.php.

74 : string
75 {
76 return '';
77 }

◆ getFileSize()

ilObjFileImplementationEmpty::getFileSize ( )

Implements ilObjFileImplementationInterface.

Definition at line 50 of file class.ilObjFileImplementationEmpty.php.

50 : int
51 {
52 return 0;
53 }

◆ getFileType()

ilObjFileImplementationEmpty::getFileType ( )

Implements ilObjFileImplementationInterface.

Definition at line 35 of file class.ilObjFileImplementationEmpty.php.

35 : string
36 {
37 return '';
38 }

◆ getMaxVersion()

ilObjFileImplementationEmpty::getMaxVersion ( )

Implements ilObjFileImplementationInterface.

Definition at line 65 of file class.ilObjFileImplementationEmpty.php.

65 : int
66 {
67 return 0;
68 }

◆ getStorageID()

ilObjFileImplementationEmpty::getStorageID ( )

Implements ilObjFileImplementationInterface.

Definition at line 45 of file class.ilObjFileImplementationEmpty.php.

45 : ?string
46 {
47 return null;
48 }

◆ getVersion()

ilObjFileImplementationEmpty::getVersion ( )

Implements ilObjFileImplementationInterface.

Definition at line 60 of file class.ilObjFileImplementationEmpty.php.

60 : int
61 {
62 return 0;
63 }

◆ getVersions()

ilObjFileImplementationEmpty::getVersions ( ?array  $version_ids = null)

Gets the file versions for this object.

Parameters
array$version_idsThe file versions to get. If not specified all versions are returned.
Returns
array The file versions. Example: array ( 'date' => '2019-07-25 11:19:51', 'user_id' => '6', 'obj_id' => '287', 'obj_type' => 'file', 'action' => 'create', 'info_params' => 'chicken_outlined.pdf,1,1', 'user_comment' => '', 'hist_entry_id' => '3', 'title' => NULL, )

Implements ilObjFileImplementationInterface.

Definition at line 79 of file class.ilObjFileImplementationEmpty.php.

79 : array
80 {
81 return [];
82 }

◆ handleChangedObjectTitle()

ilObjFileImplementationEmpty::handleChangedObjectTitle ( string  $new_title)

Implements ilObjFileImplementationInterface.

Definition at line 40 of file class.ilObjFileImplementationEmpty.php.

40 : void
41 {
42 return;
43 }

◆ sendFile()

ilObjFileImplementationEmpty::sendFile ( ?int  $a_hist_entry_id = null,
bool  $inline = true 
)
Parameters
bool$inline
Deprecated:

Implements ilObjFileImplementationInterface.

Definition at line 70 of file class.ilObjFileImplementationEmpty.php.

70 : void
71 {
72 }

The documentation for this class was generated from the following file: