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
NullRevision.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
3
namespace
ILIAS\MainMenu\Storage\Revision
;
4
5
use
DateTimeImmutable
;
6
use
ILIAS\MainMenu\Storage\Identification\ResourceIdentification
;
7
use
ILIAS\MainMenu\Storage\Information\FileInformation
;
8
use
ILIAS\MainMenu\Storage\Information\Information
;
9
15
class
NullRevision
implements
Revision
16
{
17
21
private
$identification
;
22
23
29
public
function
__construct
(
ResourceIdentification
$identification
)
30
{
31
$this->identification =
$identification
;
32
}
33
34
38
public
function
getIdentification
() :
ResourceIdentification
39
{
40
return
$this->identification
;
41
}
42
43
47
public
function
getVersionNumber
() : int
48
{
49
return
0;
50
}
51
52
56
public
function
getCreationDate
() :
DateTimeImmutable
57
{
58
return
new
DateTimeImmutable
();
59
}
60
61
65
public
function
getInformation
() :
Information
66
{
67
return
new
FileInformation
();
68
}
69
70
71
public
function
setInformation
(
Information
$information)
72
{
73
}
74
75
76
public
function
setUnavailable
() : void
77
{
78
// do nothing
79
}
80
81
85
public
function
isAvailable
() : bool
86
{
87
return
false
;
88
}
89
}
ILIAS\MainMenu\Storage\Revision
Definition:
FileRevision.php:3
ILIAS\MainMenu\Storage\Revision\NullRevision\isAvailable
isAvailable()
Definition:
NullRevision.php:85
DateTimeImmutable
ILIAS\MainMenu\Storage\Identification\ResourceIdentification
Interface Identification.
Definition:
ResourceIdentification.php:14
ILIAS\MainMenu\Storage\Revision\NullRevision\getInformation
getInformation()
Definition:
NullRevision.php:65
ILIAS\MainMenu\Storage\Information\Information
Class Information.
Definition:
Information.php:12
FileInformation
ResourceIdentification
ILIAS\MainMenu\Storage\Revision\NullRevision
Class NullRevision.
Definition:
NullRevision.php:15
ILIAS\MainMenu\Storage\Revision\NullRevision\setUnavailable
setUnavailable()
Definition:
NullRevision.php:76
ILIAS\MainMenu\Storage\Revision\NullRevision\getIdentification
getIdentification()
Definition:
NullRevision.php:38
Information
ILIAS\MainMenu\Storage\Revision\NullRevision\$identification
$identification
Definition:
NullRevision.php:21
ILIAS\MainMenu\Storage\Information\FileInformation
Class Information.
Definition:
FileInformation.php:13
ILIAS\MainMenu\Storage\Revision\NullRevision\__construct
__construct(ResourceIdentification $identification)
NullRevision constructor.
Definition:
NullRevision.php:29
ILIAS\MainMenu\Storage\Revision\Revision
Class FileRevision.
Definition:
Revision.php:14
ILIAS\MainMenu\Storage\Revision\NullRevision\getCreationDate
getCreationDate()
Definition:
NullRevision.php:56
ILIAS\MainMenu\Storage\Revision\NullRevision\setInformation
setInformation(Information $information)
Definition:
NullRevision.php:71
ILIAS\MainMenu\Storage\Revision\NullRevision\getVersionNumber
getVersionNumber()
Definition:
NullRevision.php:47
Services
MainMenu
classes
Storage
Revision
NullRevision.php
Generated on Sun Apr 6 2025 20:01:25 for ILIAS by
1.8.13 (using
Doxyfile
)