ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
FileRevision.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
3
namespace
ILIAS\MainMenu\Storage\Revision
;
4
5
use
ILIAS\MainMenu\Storage\Identification\ResourceIdentification
;
6
use
ILIAS\MainMenu\Storage\Information\FileInformation
;
7
use
ILIAS\MainMenu\Storage\Information\Information
;
8
14
class
FileRevision
implements
Revision
15
{
16
20
protected
$available
=
true
;
24
protected
$identification
;
28
protected
$version_number
= 0;
32
protected
$information
;
33
34
40
public
function
__construct
(
ResourceIdentification
$identification
)
41
{
42
$this->identification =
$identification
;
43
}
44
45
49
public
function
getIdentification
() :
ResourceIdentification
50
{
51
return
$this->identification
;
52
}
53
54
58
public
function
setVersionNumber
(
int
$version_number
) : void
59
{
60
$this->version_number =
$version_number
;
61
}
62
63
64
public
function
getVersionNumber
() : int
65
{
66
return
$this->version_number
;
67
}
68
69
73
public
function
getInformation
() :
Information
74
{
75
return
$this->information ??
new
FileInformation
();
76
}
77
78
82
public
function
setInformation
(
Information
$information
)
83
{
84
$this->information =
$information
;
85
}
86
87
91
public
function
setUnavailable
() : void
92
{
93
$this->available =
false
;
94
}
95
96
100
public
function
isAvailable
() : bool
101
{
102
return
$this->available
;
103
}
104
}
ILIAS\MainMenu\Storage\Revision\FileRevision\$version_number
$version_number
Definition:
FileRevision.php:28
ILIAS\MainMenu\Storage\Revision
Definition:
FileRevision.php:3
ILIAS\MainMenu\Storage\Revision\FileRevision\setVersionNumber
setVersionNumber(int $version_number)
Definition:
FileRevision.php:58
ILIAS\MainMenu\Storage\Identification\ResourceIdentification
Interface Identification.
Definition:
ResourceIdentification.php:14
ILIAS\MainMenu\Storage\Revision\FileRevision\isAvailable
isAvailable()
Definition:
FileRevision.php:100
ILIAS\MainMenu\Storage\Revision\FileRevision\getIdentification
getIdentification()
Definition:
FileRevision.php:49
ILIAS\MainMenu\Storage\Revision\FileRevision\$available
$available
Definition:
FileRevision.php:20
ILIAS\MainMenu\Storage\Revision\FileRevision\$identification
$identification
Definition:
FileRevision.php:24
ILIAS\MainMenu\Storage\Information\Information
Class Information.
Definition:
Information.php:12
FileInformation
ILIAS\MainMenu\Storage\Revision\FileRevision\setInformation
setInformation(Information $information)
Definition:
FileRevision.php:82
ResourceIdentification
ILIAS\MainMenu\Storage\Revision\FileRevision\__construct
__construct(ResourceIdentification $identification)
Revision constructor.
Definition:
FileRevision.php:40
Information
ILIAS\MainMenu\Storage\Information\FileInformation
Class Information.
Definition:
FileInformation.php:13
ILIAS\MainMenu\Storage\Revision\Revision
Class FileRevision.
Definition:
Revision.php:14
ILIAS\MainMenu\Storage\Revision\FileRevision
Class FileRevision.
Definition:
FileRevision.php:14
ILIAS\MainMenu\Storage\Revision\FileRevision\$information
$information
Definition:
FileRevision.php:32
ILIAS\MainMenu\Storage\Revision\FileRevision\getVersionNumber
getVersionNumber()
Definition:
FileRevision.php:64
ILIAS\MainMenu\Storage\Revision\FileRevision\getInformation
getInformation()
Definition:
FileRevision.php:73
ILIAS\MainMenu\Storage\Revision\FileRevision\setUnavailable
setUnavailable()
Definition:
FileRevision.php:91
Services
MainMenu
classes
Storage
Revision
FileRevision.php
Generated on Thu Apr 10 2025 20:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)