ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 120 of file class.ilObjFileVersion.php.

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

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 $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

References Vendor\Package\$a.

◆ getDate()

ilObjFileVersion::getDate ( )

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

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

References $date.

◆ getFilename()

ilObjFileVersion::getFilename ( )

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

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

References $filename.

◆ getHistEntryId()

ilObjFileVersion::getHistEntryId ( )

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

153 : int
154 {
156 }

References $hist_entry_id.

◆ getInfoParams()

ilObjFileVersion::getInfoParams ( )

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

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

References $info_params.

◆ getObjId()

ilObjFileVersion::getObjId ( )

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

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

References $obj_id.

◆ getObjType()

ilObjFileVersion::getObjType ( )

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

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

References $obj_type.

◆ getSize()

ilObjFileVersion::getSize ( )

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

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

References $size.

◆ getTitle()

ilObjFileVersion::getTitle ( )

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

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

References $title.

◆ getUserComment()

ilObjFileVersion::getUserComment ( )

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

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

References $user_comment.

◆ getUserId()

ilObjFileVersion::getUserId ( )

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

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

References $user_id.

◆ getVersion()

ilObjFileVersion::getVersion ( )

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

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

References $version.

◆ offsetExists()

ilObjFileVersion::offsetExists ( mixed  $key)

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

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

◆ offsetGet()

ilObjFileVersion::offsetGet (   $index)

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

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

◆ setAction()

ilObjFileVersion::setAction ( string  $action)

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

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

References $action.

◆ setDate()

ilObjFileVersion::setDate ( string  $date)

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

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

References $date.

◆ setFilename()

ilObjFileVersion::setFilename ( string  $filename)

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

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

References $filename.

◆ setHistEntryId()

ilObjFileVersion::setHistEntryId ( int  $hist_entry_id)

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

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

References $hist_entry_id.

◆ setInfoParams()

ilObjFileVersion::setInfoParams ( string  $info_params)

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

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

References $info_params.

◆ setObjId()

ilObjFileVersion::setObjId ( int  $obj_id)

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

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

References $obj_id.

◆ setObjType()

ilObjFileVersion::setObjType ( string  $obj_type)

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

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

References $obj_type.

◆ setSize()

ilObjFileVersion::setSize ( int  $size)

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

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

References $size.

◆ setTitle()

ilObjFileVersion::setTitle ( string  $title)

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

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

References $title.

◆ setUserComment()

ilObjFileVersion::setUserComment ( string  $user_comment)

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

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

References $user_comment.

◆ setUserId()

ilObjFileVersion::setUserId ( int  $user_id)

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

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

References $user_id.

◆ setVersion()

ilObjFileVersion::setVersion ( string  $version)

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

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

References $version.

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: