ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
NullTokenHandler.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl
;
22
23
use
ILIAS\MetaData\OERExposer\OAIPMH\Requests\RequestInterface
;
24
use
ILIAS\MetaData\OERExposer\OAIPMH\Requests\NullRequest
;
25
26
class
NullTokenHandler
implements
TokenHandlerInterface
27
{
28
public
function
generateToken
(
29
int
$offset,
30
?\
DateTimeImmutable
$from_date,
31
?\
DateTimeImmutable
$until_date
32
): string {
33
return
''
;
34
}
35
36
public
function
isTokenValid
(
string
$token
): bool
37
{
38
return
false
;
39
}
40
41
public
function
appendArgumentsFromTokenToRequest
(
42
RequestInterface
$request,
43
string
$token
44
):
RequestInterface
{
45
return
new
NullRequest
();
46
}
47
48
public
function
getOffsetFromToken
(
string
$token
):
int
49
{
50
return
0;
51
}
52
}
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\NullTokenHandler\appendArgumentsFromTokenToRequest
appendArgumentsFromTokenToRequest(RequestInterface $request, string $token)
Definition:
NullTokenHandler.php:41
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\NullTokenHandler\generateToken
generateToken(int $offset, ?\DateTimeImmutable $from_date, ?\DateTimeImmutable $until_date)
Definition:
NullTokenHandler.php:28
DateTimeImmutable
ILIAS\MetaData\OERExposer\OAIPMH\Requests\NullRequest
Definition:
NullRequest.php:27
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\TokenHandlerInterface
Definition:
TokenHandlerInterface.php:25
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\NullTokenHandler\isTokenValid
isTokenValid(string $token)
Definition:
NullTokenHandler.php:36
RequestInterface
$token
$token
Definition:
xapitoken.php:70
NullRequest
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl
Definition:
NullTokenHandler.php:21
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\NullTokenHandler
Definition:
NullTokenHandler.php:26
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\NullTokenHandler\getOffsetFromToken
getOffsetFromToken(string $token)
Definition:
NullTokenHandler.php:48
RequestInterface
components
ILIAS
MetaData
classes
OERExposer
OAIPMH
FlowControl
NullTokenHandler.php
Generated on Thu Apr 10 2025 23:03:38 for ILIAS by
1.8.13 (using
Doxyfile
)