ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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

 getFileName ()
 
 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 (bool $inclduing_drafts=false)
 
 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...
 

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 35 of file class.ilObjFileImplementationEmpty.php.

35  : void
36  {
37  // TODO: Implement deleteVersions() method.
38  }

◆ getDirectory()

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

Implements ilObjFileImplementationInterface.

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

30  : string
31  {
32  return '';
33  }

◆ getFile()

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

Implements ilObjFileImplementationInterface.

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

60  : string
61  {
62  return '';
63  }

◆ 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 79 of file class.ilObjFileImplementationEmpty.php.

79  : string
80  {
81  return '';
82  }

◆ getFileName()

ilObjFileImplementationEmpty::getFileName ( )

Implements ilObjFileImplementationInterface.

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

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

◆ getFileSize()

ilObjFileImplementationEmpty::getFileSize ( )

Implements ilObjFileImplementationInterface.

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

55  : int
56  {
57  return 0;
58  }

◆ getFileType()

ilObjFileImplementationEmpty::getFileType ( )

Implements ilObjFileImplementationInterface.

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

40  : string
41  {
42  return '';
43  }

◆ getMaxVersion()

ilObjFileImplementationEmpty::getMaxVersion ( )

Implements ilObjFileImplementationInterface.

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

70  : int
71  {
72  return 0;
73  }

◆ getStorageID()

ilObjFileImplementationEmpty::getStorageID ( )

Implements ilObjFileImplementationInterface.

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

References null.

50  : ?string
51  {
52  return null;
53  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ getVersion()

ilObjFileImplementationEmpty::getVersion ( bool  $inclduing_drafts = false)

Implements ilObjFileImplementationInterface.

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

65  : int
66  {
67  return 0;
68  }

◆ 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 84 of file class.ilObjFileImplementationEmpty.php.

84  : array
85  {
86  return [];
87  }

◆ handleChangedObjectTitle()

ilObjFileImplementationEmpty::handleChangedObjectTitle ( string  $new_title)

Implements ilObjFileImplementationInterface.

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

45  : void
46  {
47  return;
48  }

◆ sendFile()

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

Implements ilObjFileImplementationInterface.

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

75  : void
76  {
77  }

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