ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
NullBaseNavigator.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Paths\Navigator
;
22
23
use
ILIAS\MetaData\Paths\Steps\NullStep
;
24
use
ILIAS\MetaData\Paths\Steps\StepInterface
;
25
26
class
NullBaseNavigator
implements
BaseNavigatorInterface
27
{
28
public
function
nextStep
(): ?
BaseNavigatorInterface
29
{
30
return
new
NullBaseNavigator
();
31
}
32
33
public
function
currentStep
(): ?
StepInterface
34
{
35
return
new
NullStep
();
36
}
37
38
public
function
previousStep
(): ?
BaseNavigatorInterface
39
{
40
return
new
NullBaseNavigator
();
41
}
42
43
public
function
hasNextStep
(): bool
44
{
45
return
false
;
46
}
47
48
public
function
hasPreviousStep
(): bool
49
{
50
return
false
;
51
}
52
53
public
function
hasElements
(): bool
54
{
55
return
false
;
56
}
57
}
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator
Definition:
NullBaseNavigator.php:26
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator\hasPreviousStep
hasPreviousStep()
Definition:
NullBaseNavigator.php:48
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator\previousStep
previousStep()
Definition:
NullBaseNavigator.php:38
ILIAS\MetaData\Paths\Steps\StepInterface
Definition:
StepInterface.php:25
NullStep
ILIAS\MetaData\Paths\Navigator
Definition:
BaseNavigator.php:21
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator\hasNextStep
hasNextStep()
Definition:
NullBaseNavigator.php:43
ILIAS\MetaData\Paths\Steps\NullStep
Definition:
NullStep.php:23
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator\hasElements
hasElements()
Should return true if the navigator contains at least one element at the current step.
Definition:
NullBaseNavigator.php:53
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator\nextStep
nextStep()
Returns null if there is no next step.
Definition:
NullBaseNavigator.php:28
ILIAS\MetaData\Paths\Navigator\BaseNavigatorInterface
Definition:
BaseNavigatorInterface.php:25
StepInterface
ILIAS\MetaData\Paths\Navigator\NullBaseNavigator\currentStep
currentStep()
Definition:
NullBaseNavigator.php:33
components
ILIAS
MetaData
classes
Paths
Navigator
NullBaseNavigator.php
Generated on Wed Sep 3 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)