ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjFileVersion 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 ilObjFileVersion:
+ Collaboration diagram for ilObjFileVersion:

Public Member Functions

 __construct (array $input=[])
 
 getArrayCopy ()
 
 offsetExists ($key)
 
 offsetGet ($index)
 
 getDate ()
 
 setDate (string $date)
 
 getUserId ()
 
 setUserId (int $user_id)
 
 getObjId ()
 
 setObjId (int $obj_id)
 
 getObjType ()
 
 setObjType (string $obj_type)
 
 getAction ()
 
 setAction (string $action)
 
 getInfoParams ()
 
 setInfoParams (string $info_params)
 
 getUserComment ()
 
 setUserComment (string $user_comment)
 
 getHistEntryId ()
 
 setHistEntryId (int $hist_entry_id)
 
 getTitle ()
 
 setTitle (string $title)
 
 getFilename ()
 
 setFilename (string $filename)
 
 getVersion ()
 
 setVersion (string $version)
 
 getSize ()
 
 setSize (int $size)
 

Protected Attributes

string $date = ''
 
int $user_id = 0
 
int $obj_id = 0
 
string $obj_type = ''
 
string $action = ''
 
string $info_params = ''
 
string $user_comment = ''
 
int $hist_entry_id = 1
 
string $title = ''
 
string $filename = ''
 
string $version = ''
 
string $max_version = ''
 
string $rollback_version = ''
 
string $rollback_user_id = ''
 
int $size = 0
 

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 ilObjFileVersion

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

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

Constructor & Destructor Documentation

◆ __construct()

ilObjFileVersion::__construct ( array  $input = [])

Definition at line 28 of file class.ilObjFileVersion.php.

References ILIAS\GlobalScreen\Provider\__construct().

29  {
30  parent::__construct($input);
31  foreach ($input as $k => $v) {
32  $this->{$k} = $v;
33  }
34  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ getAction()

ilObjFileVersion::getAction ( )

Definition at line 120 of file class.ilObjFileVersion.php.

References $action.

120  : string
121  {
122  return $this->action;
123  }

◆ getArrayCopy()

ilObjFileVersion::getArrayCopy ( )

Definition at line 39 of file class.ilObjFileVersion.php.

References Vendor\Package\$a.

39  : array
40  {
41  $a = [];
42  $r = new ReflectionClass($this);
43  foreach ($r->getProperties() as $p) {
44  $p->setAccessible(true);
45  $a[$p->getName()] = $p->getValue($this);
46  }
47  return $a;
48  }
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

◆ getDate()

ilObjFileVersion::getDate ( )

Definition at line 76 of file class.ilObjFileVersion.php.

References $date.

76  : string
77  {
78  return $this->date;
79  }

◆ getFilename()

ilObjFileVersion::getFilename ( )

Definition at line 175 of file class.ilObjFileVersion.php.

References $filename.

175  : string
176  {
177  return $this->filename;
178  }

◆ getHistEntryId()

ilObjFileVersion::getHistEntryId ( )

Definition at line 153 of file class.ilObjFileVersion.php.

References $hist_entry_id.

153  : int
154  {
155  return $this->hist_entry_id;
156  }

◆ getInfoParams()

ilObjFileVersion::getInfoParams ( )

Definition at line 131 of file class.ilObjFileVersion.php.

References $info_params.

131  : string
132  {
133  return $this->info_params;
134  }

◆ getObjId()

ilObjFileVersion::getObjId ( )

Definition at line 98 of file class.ilObjFileVersion.php.

References $obj_id.

98  : int
99  {
100  return $this->obj_id;
101  }

◆ getObjType()

ilObjFileVersion::getObjType ( )

Definition at line 109 of file class.ilObjFileVersion.php.

References $obj_type.

109  : string
110  {
111  return $this->obj_type;
112  }

◆ getSize()

ilObjFileVersion::getSize ( )

Definition at line 197 of file class.ilObjFileVersion.php.

References $size.

197  : int
198  {
199  return $this->size;
200  }

◆ getTitle()

ilObjFileVersion::getTitle ( )

Definition at line 164 of file class.ilObjFileVersion.php.

References $title.

164  : string
165  {
166  return $this->title;
167  }

◆ getUserComment()

ilObjFileVersion::getUserComment ( )

Definition at line 142 of file class.ilObjFileVersion.php.

References $user_comment.

142  : string
143  {
144  return $this->user_comment;
145  }

◆ getUserId()

ilObjFileVersion::getUserId ( )

Definition at line 87 of file class.ilObjFileVersion.php.

References $user_id.

87  : int
88  {
89  return $this->user_id;
90  }

◆ getVersion()

ilObjFileVersion::getVersion ( )

Definition at line 186 of file class.ilObjFileVersion.php.

References $version.

186  : string
187  {
188  return $this->version;
189  }

◆ offsetExists()

ilObjFileVersion::offsetExists (   $key)

Definition at line 66 of file class.ilObjFileVersion.php.

References ILIAS\LTI\ToolProvider\$key.

66  : bool
67  {
68  return property_exists($this, $key);
69  }
string $key
Consumer key/client ID value.
Definition: System.php:193

◆ offsetGet()

ilObjFileVersion::offsetGet (   $index)

Definition at line 71 of file class.ilObjFileVersion.php.

References $index.

72  {
73  return $this->{$index};
74  }
$index
Definition: metadata.php:145

◆ setAction()

ilObjFileVersion::setAction ( string  $action)

Definition at line 125 of file class.ilObjFileVersion.php.

References $action.

125  : self
126  {
127  $this->action = $action;
128  return $this;
129  }

◆ setDate()

ilObjFileVersion::setDate ( string  $date)

Definition at line 81 of file class.ilObjFileVersion.php.

References $date.

81  : self
82  {
83  $this->date = $date;
84  return $this;
85  }

◆ setFilename()

ilObjFileVersion::setFilename ( string  $filename)

Definition at line 180 of file class.ilObjFileVersion.php.

References $filename.

180  : self
181  {
182  $this->filename = $filename;
183  return $this;
184  }

◆ setHistEntryId()

ilObjFileVersion::setHistEntryId ( int  $hist_entry_id)

Definition at line 158 of file class.ilObjFileVersion.php.

References $hist_entry_id.

158  : self
159  {
160  $this->hist_entry_id = $hist_entry_id;
161  return $this;
162  }

◆ setInfoParams()

ilObjFileVersion::setInfoParams ( string  $info_params)

Definition at line 136 of file class.ilObjFileVersion.php.

References $info_params.

136  : self
137  {
138  $this->info_params = $info_params;
139  return $this;
140  }

◆ setObjId()

ilObjFileVersion::setObjId ( int  $obj_id)

Definition at line 103 of file class.ilObjFileVersion.php.

References $obj_id.

103  : self
104  {
105  $this->obj_id = $obj_id;
106  return $this;
107  }

◆ setObjType()

ilObjFileVersion::setObjType ( string  $obj_type)

Definition at line 114 of file class.ilObjFileVersion.php.

References $obj_type.

114  : self
115  {
116  $this->obj_type = $obj_type;
117  return $this;
118  }

◆ setSize()

ilObjFileVersion::setSize ( int  $size)

Definition at line 202 of file class.ilObjFileVersion.php.

References $size.

202  : self
203  {
204  $this->size = $size;
205  return $this;
206  }

◆ setTitle()

ilObjFileVersion::setTitle ( string  $title)

Definition at line 169 of file class.ilObjFileVersion.php.

References $title.

169  : self
170  {
171  $this->title = $title;
172  return $this;
173  }

◆ setUserComment()

ilObjFileVersion::setUserComment ( string  $user_comment)

Definition at line 147 of file class.ilObjFileVersion.php.

References $user_comment.

147  : self
148  {
149  $this->user_comment = $user_comment;
150  return $this;
151  }

◆ setUserId()

ilObjFileVersion::setUserId ( int  $user_id)

Definition at line 92 of file class.ilObjFileVersion.php.

References $user_id.

92  : self
93  {
94  $this->user_id = $user_id;
95  return $this;
96  }

◆ setVersion()

ilObjFileVersion::setVersion ( string  $version)

Definition at line 191 of file class.ilObjFileVersion.php.

References $version.

191  : self
192  {
193  $this->version = $version;
194  return $this;
195  }

Field Documentation

◆ $action

string ilObjFileVersion::$action = ''
protected

Definition at line 54 of file class.ilObjFileVersion.php.

Referenced by getAction(), and setAction().

◆ $date

string ilObjFileVersion::$date = ''
protected

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

Referenced by getDate(), and setDate().

◆ $filename

string ilObjFileVersion::$filename = ''
protected

Definition at line 59 of file class.ilObjFileVersion.php.

Referenced by getFilename(), and setFilename().

◆ $hist_entry_id

int ilObjFileVersion::$hist_entry_id = 1
protected

Definition at line 57 of file class.ilObjFileVersion.php.

Referenced by getHistEntryId(), and setHistEntryId().

◆ $info_params

string ilObjFileVersion::$info_params = ''
protected

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

Referenced by getInfoParams(), and setInfoParams().

◆ $max_version

string ilObjFileVersion::$max_version = ''
protected

Definition at line 61 of file class.ilObjFileVersion.php.

◆ $obj_id

int ilObjFileVersion::$obj_id = 0
protected

Definition at line 52 of file class.ilObjFileVersion.php.

Referenced by getObjId(), and setObjId().

◆ $obj_type

string ilObjFileVersion::$obj_type = ''
protected

Definition at line 53 of file class.ilObjFileVersion.php.

Referenced by getObjType(), and setObjType().

◆ $rollback_user_id

string ilObjFileVersion::$rollback_user_id = ''
protected

Definition at line 63 of file class.ilObjFileVersion.php.

◆ $rollback_version

string ilObjFileVersion::$rollback_version = ''
protected

Definition at line 62 of file class.ilObjFileVersion.php.

◆ $size

int ilObjFileVersion::$size = 0
protected

Definition at line 64 of file class.ilObjFileVersion.php.

Referenced by getSize(), and setSize().

◆ $title

string ilObjFileVersion::$title = ''
protected

Definition at line 58 of file class.ilObjFileVersion.php.

Referenced by getTitle(), and setTitle().

◆ $user_comment

string ilObjFileVersion::$user_comment = ''
protected

Definition at line 56 of file class.ilObjFileVersion.php.

Referenced by getUserComment(), and setUserComment().

◆ $user_id

int ilObjFileVersion::$user_id = 0
protected

Definition at line 51 of file class.ilObjFileVersion.php.

Referenced by getUserId(), and setUserId().

◆ $version

string ilObjFileVersion::$version = ''
protected

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

Referenced by getVersion(), and setVersion().


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