ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
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=[])
 @inheritDoc More...
 
 getArrayCopy ()
 @inheritDoc More...
 
 offsetExists (mixed $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 = [])

@inheritDoc

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

29 {
30 parent::__construct($input);
31 foreach ($input as $k => $v) {
32 $this->{$k} = $v;
33 }
34 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAction()

ilObjFileVersion::getAction ( )

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

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

References $action.

◆ getArrayCopy()

ilObjFileVersion::getArrayCopy ( )

@inheritDoc

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

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

References Vendor\Package\$a.

◆ getDate()

ilObjFileVersion::getDate ( )

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

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

References $date.

◆ getFilename()

ilObjFileVersion::getFilename ( )

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

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

References $filename.

◆ getHistEntryId()

ilObjFileVersion::getHistEntryId ( )

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

152 : int
153 {
155 }

References $hist_entry_id.

◆ getInfoParams()

ilObjFileVersion::getInfoParams ( )

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

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

References $info_params.

◆ getObjId()

ilObjFileVersion::getObjId ( )

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

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

References $obj_id.

◆ getObjType()

ilObjFileVersion::getObjType ( )

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

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

References $obj_type.

◆ getSize()

ilObjFileVersion::getSize ( )

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

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

References $size.

◆ getTitle()

ilObjFileVersion::getTitle ( )

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

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

References $title.

◆ getUserComment()

ilObjFileVersion::getUserComment ( )

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

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

References $user_comment.

◆ getUserId()

ilObjFileVersion::getUserId ( )

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

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

References $user_id.

◆ getVersion()

ilObjFileVersion::getVersion ( )

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

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

References $version.

◆ offsetExists()

ilObjFileVersion::offsetExists ( mixed  $key)

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

65 : bool
66 {
67 return property_exists($this, $key);
68 }

◆ offsetGet()

ilObjFileVersion::offsetGet (   $index)

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

70 : mixed
71 {
72 return $this->{$index};
73 }

◆ setAction()

ilObjFileVersion::setAction ( string  $action)

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

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

References $action.

◆ setDate()

ilObjFileVersion::setDate ( string  $date)

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

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

References $date.

◆ setFilename()

ilObjFileVersion::setFilename ( string  $filename)

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

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

References $filename.

◆ setHistEntryId()

ilObjFileVersion::setHistEntryId ( int  $hist_entry_id)

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

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

References $hist_entry_id.

◆ setInfoParams()

ilObjFileVersion::setInfoParams ( string  $info_params)

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

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

References $info_params.

◆ setObjId()

ilObjFileVersion::setObjId ( int  $obj_id)

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

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

References $obj_id.

◆ setObjType()

ilObjFileVersion::setObjType ( string  $obj_type)

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

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

References $obj_type.

◆ setSize()

ilObjFileVersion::setSize ( int  $size)

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

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

References $size.

◆ setTitle()

ilObjFileVersion::setTitle ( string  $title)

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

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

References $title.

◆ setUserComment()

ilObjFileVersion::setUserComment ( string  $user_comment)

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

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

References $user_comment.

◆ setUserId()

ilObjFileVersion::setUserId ( int  $user_id)

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

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

References $user_id.

◆ setVersion()

ilObjFileVersion::setVersion ( string  $version)

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

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

References $version.

Field Documentation

◆ $action

string ilObjFileVersion::$action = ''
protected

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

Referenced by getAction(), and setAction().

◆ $date

string ilObjFileVersion::$date = ''
protected

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

Referenced by getDate(), and setDate().

◆ $filename

string ilObjFileVersion::$filename = ''
protected

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

Referenced by getFilename(), and setFilename().

◆ $hist_entry_id

int ilObjFileVersion::$hist_entry_id = 1
protected

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

Referenced by getHistEntryId(), and setHistEntryId().

◆ $info_params

string ilObjFileVersion::$info_params = ''
protected

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

Referenced by getInfoParams(), and setInfoParams().

◆ $max_version

string ilObjFileVersion::$max_version = ''
protected

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

◆ $obj_id

int ilObjFileVersion::$obj_id = 0
protected

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

Referenced by getObjId(), and setObjId().

◆ $obj_type

string ilObjFileVersion::$obj_type = ''
protected

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

Referenced by getObjType(), and setObjType().

◆ $rollback_user_id

string ilObjFileVersion::$rollback_user_id = ''
protected

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

◆ $rollback_version

string ilObjFileVersion::$rollback_version = ''
protected

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

◆ $size

int ilObjFileVersion::$size = 0
protected

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

Referenced by getSize(), and setSize().

◆ $title

string ilObjFileVersion::$title = ''
protected

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

Referenced by getTitle(), and setTitle().

◆ $user_comment

string ilObjFileVersion::$user_comment = ''
protected

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

Referenced by getUserComment(), and setUserComment().

◆ $user_id

int ilObjFileVersion::$user_id = 0
protected

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

Referenced by getUserId(), and setUserId().

◆ $version

string ilObjFileVersion::$version = ''
protected

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

Referenced by getVersion(), and setVersion().


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