ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
BaseRevision.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ResourceStorage\Revision
;
22
23
use
ILIAS\ResourceStorage\Consumer\StreamAccess\Token
;
24
use
ILIAS\ResourceStorage\Identification\ResourceIdentification
;
25
30
abstract
class
BaseRevision
implements
Revision
31
{
32
private
?
string
$storage_id
= null;
33
private
?
Token
$token
= null;
34
private
ResourceIdentification
$identification
;
35
39
public
function
__construct
(
ResourceIdentification
$identification)
40
{
41
$this->identification =
$identification
;
42
}
43
47
public
function
getIdentification
():
ResourceIdentification
48
{
49
return
$this->identification
;
50
}
51
52
public
function
setStorageID
(
string
$storage_id): void
53
{
54
$this->storage_id =
$storage_id
;
55
}
56
57
public
function
getStorageID
(): string
58
{
59
return
$this->storage_id ??
''
;
60
}
61
62
63
public
function
withToken
(
Token
$token):
Revision
64
{
65
$clone = clone $this;
66
$clone->token =
$token
;
67
return
$clone;
68
}
69
70
public
function
maybeGetToken
(): ?
Token
71
{
72
return
$this->token
;
73
}
74
}
ILIAS\ResourceStorage\Revision\BaseRevision\__construct
__construct(ResourceIdentification $identification)
NullRevision constructor.
Definition:
BaseRevision.php:39
ILIAS\ResourceStorage\Revision\BaseRevision\setStorageID
setStorageID(string $storage_id)
Definition:
BaseRevision.php:52
ILIAS\ResourceStorage\Revision\BaseRevision\$storage_id
string $storage_id
Definition:
BaseRevision.php:32
ILIAS\ResourceStorage\Consumer\StreamAccess\Token
Definition:
Token.php:27
ILIAS\ResourceStorage\Revision\BaseRevision\maybeGetToken
maybeGetToken()
Definition:
BaseRevision.php:70
ILIAS\ResourceStorage\Revision\BaseRevision\$identification
ResourceIdentification $identification
Definition:
BaseRevision.php:34
ResourceIdentification
ILIAS\ResourceStorage\Revision\BaseRevision\getIdentification
getIdentification()
Definition:
BaseRevision.php:47
ILIAS\ResourceStorage\Revision\BaseRevision\$token
Token $token
Definition:
BaseRevision.php:33
ILIAS\ResourceStorage\Revision\BaseRevision\getStorageID
getStorageID()
Definition:
BaseRevision.php:57
ILIAS\ResourceStorage\Revision\BaseRevision
Class NullRevision.
Definition:
BaseRevision.php:30
ILIAS\ResourceStorage\Identification\ResourceIdentification
Class ResourceIdentification.
Definition:
ResourceIdentification.php:30
ILIAS\ResourceStorage\Revision\BaseRevision\withToken
withToken(Token $token)
Definition:
BaseRevision.php:63
ILIAS\ResourceStorage\Revision
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\ResourceStorage\Revision\Revision
Class FileRevision.
Definition:
Revision.php:29
Token
src
ResourceStorage
Revision
BaseRevision.php
Generated on Fri Apr 4 2025 22:03:13 for ILIAS by
1.8.13 (using
Doxyfile
)