ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
FactoryInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Paths
;
22
23
use
ILIAS\MetaData\Elements\Base\BaseElementInterface
;
24
25
interface
FactoryInterface
26
{
27
public
function
fromString
(
string
$string):
PathInterface
;
28
36
public
function
toElement
(
37
BaseElementInterface
$to,
38
bool
$leads_to_exactly_one =
false
39
):
PathInterface
;
40
48
public
function
betweenElements
(
49
BaseElementInterface
$from,
50
BaseElementInterface
$to,
51
bool
$leads_to_exactly_one =
false
52
):
PathInterface
;
53
54
public
function
custom
():
BuilderInterface
;
55
}
ILIAS\MetaData\Paths\FactoryInterface\toElement
toElement(BaseElementInterface $to, bool $leads_to_exactly_one=false)
Returns absolute path from root to the given element.
ILIAS\MetaData\Paths
Definition:
Builder.php:21
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
ILIAS\MetaData\Paths\FactoryInterface\fromString
fromString(string $string)
ILIAS\MetaData\Paths\FactoryInterface
Definition:
FactoryInterface.php:25
ILIAS\MetaData\Paths\FactoryInterface\custom
custom()
BaseElementInterface
ILIAS\MetaData\Elements\Base\BaseElementInterface
Definition:
BaseElementInterface.php:27
ILIAS\MetaData\Paths\BuilderInterface
Definition:
BuilderInterface.php:28
ILIAS\MetaData\Paths\FactoryInterface\betweenElements
betweenElements(BaseElementInterface $from, BaseElementInterface $to, bool $leads_to_exactly_one=false)
Returns relative path between two given elements.
components
ILIAS
MetaData
classes
Paths
FactoryInterface.php
Generated on Sun Aug 31 2025 23:02:04 for ILIAS by
1.8.13 (using
Doxyfile
)