ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
NullNavigatorFactory.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\Elements\ElementInterface
;
24
use
ILIAS\MetaData\Elements\Structure\StructureElementInterface
;
25
use
ILIAS\MetaData\Paths\PathInterface
;
26
27
class
NullNavigatorFactory
implements
NavigatorFactoryInterface
28
{
29
public
function
navigator
(
PathInterface
$path
,
ElementInterface
$start_element):
NavigatorInterface
30
{
31
return
new
NullNavigator
();
32
}
33
34
public
function
structureNavigator
(
PathInterface
$path
,
StructureElementInterface
$start_element):
StructureNavigatorInterface
35
{
36
return
new
NullStructureNavigator
();
37
}
38
}
ILIAS\MetaData\Paths\Navigator\NullNavigator
Definition:
NullNavigator.php:26
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
ILIAS\MetaData\Paths\Navigator\NullStructureNavigator
Definition:
NullStructureNavigator.php:26
StructureElementInterface
ILIAS\MetaData\Paths\Navigator\NullNavigatorFactory
Definition:
NullNavigatorFactory.php:27
ILIAS\MetaData\Paths\Navigator\NavigatorInterface
Definition:
NavigatorInterface.php:25
$path
$path
Definition:
ltiservices.php:29
ILIAS\MetaData\Paths\Navigator
Definition:
BaseNavigator.php:21
ILIAS\MetaData\Paths\Navigator\NullNavigatorFactory\navigator
navigator(PathInterface $path, ElementInterface $start_element)
Used to navigate on a metadata set along the given path.
Definition:
NullNavigatorFactory.php:29
ILIAS\MetaData\Paths\Navigator\StructureNavigatorInterface
Definition:
StructureNavigatorInterface.php:25
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
ILIAS\MetaData\Paths\Navigator\NullNavigatorFactory\structureNavigator
structureNavigator(PathInterface $path, StructureElementInterface $start_element)
Used to navigate on a metadata set structure along the given path.
Definition:
NullNavigatorFactory.php:34
ILIAS\MetaData\Paths\Navigator\NavigatorFactoryInterface
Definition:
NavigatorFactoryInterface.php:27
ElementInterface
PathInterface
ILIAS\MetaData\Elements\Structure\StructureElementInterface
Definition:
StructureElementInterface.php:26
components
ILIAS
MetaData
classes
Paths
Navigator
NullNavigatorFactory.php
Generated on Sun Aug 31 2025 23:03:23 for ILIAS by
1.8.13 (using
Doxyfile
)