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
DummyIDGenerator.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\ResourceStorage
;
20
21
use
ILIAS\ResourceStorage\Identification\CollectionIdentificationGenerator
;
22
use
ILIAS\ResourceStorage\Identification\IdentificationGenerator
;
23
use
ILIAS\ResourceStorage\Identification\ResourceCollectionIdentification
;
24
use
ILIAS\ResourceStorage\Identification\ResourceIdentification
;
25
26
class
DummyIDGenerator
implements
IdentificationGenerator
,
CollectionIdentificationGenerator
27
{
28
private
string
$id
=
'dummy'
;
29
33
public
function
__construct
(
string
$id =
'dummy'
)
34
{
35
$this->
id
=
$id
;
36
}
37
38
public
function
getUniqueResourceIdentification
():
ResourceIdentification
39
{
40
return
new
ResourceIdentification
($this->
id
);
41
}
42
43
public
function
getUniqueResourceCollectionIdentification
():
ResourceCollectionIdentification
44
{
45
return
new
ResourceCollectionIdentification
($this->
id
);
46
}
47
48
public
function
validateScheme
(
string
$existing): bool
49
{
50
return
true
;
51
}
52
}
ILIAS\ResourceStorage\DummyIDGenerator\$id
string $id
Definition:
DummyIDGenerator.php:28
ILIAS\ResourceStorage\DummyIDGenerator\validateScheme
validateScheme(string $existing)
Definition:
DummyIDGenerator.php:48
ILIAS\ResourceStorage\Identification\ResourceCollectionIdentification
Class ResourceCollectionIdentification.
Definition:
ResourceCollectionIdentification.php:30
ILIAS\ResourceStorage\Identification\IdentificationGenerator
Class UniqueIDIdentificationGenerator.
Definition:
IdentificationGenerator.php:26
IdentificationGenerator
CollectionIdentificationGenerator
ResourceIdentification
ILIAS\ResourceStorage
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\ResourceStorage\Identification\ResourceIdentification
Class ResourceIdentification.
Definition:
ResourceIdentification.php:30
ILIAS\ResourceStorage\DummyIDGenerator\getUniqueResourceCollectionIdentification
getUniqueResourceCollectionIdentification()
Definition:
DummyIDGenerator.php:43
ILIAS\ResourceStorage\Identification\CollectionIdentificationGenerator
Class CollectionIdentificationGenerator.
Definition:
CollectionIdentificationGenerator.php:26
ResourceCollectionIdentification
ILIAS\ResourceStorage\DummyIDGenerator\getUniqueResourceIdentification
getUniqueResourceIdentification()
Definition:
DummyIDGenerator.php:38
ILIAS\ResourceStorage\DummyIDGenerator
Definition:
DummyIDGenerator.php:26
ILIAS\ResourceStorage\DummyIDGenerator\__construct
__construct(string $id='dummy')
DummyIDGenerator constructor.
Definition:
DummyIDGenerator.php:33
tests
ResourceStorage
DummyIDGenerator.php
Generated on Fri Apr 4 2025 22:03:18 for ILIAS by
1.8.13 (using
Doxyfile
)