ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ 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
BuilderInterface.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\Paths\Filters\FilterType
;
24
use
ILIAS\MetaData\Paths\Steps\StepInterface
;
25
use
ILIAS\MetaData\Structure\Definitions\DefinitionInterface
;
26
use
ILIAS\MetaData\Paths\Steps\StepToken
;
27
28
interface
BuilderInterface
29
{
34
public
function
withRelative
(
bool
$is_relative):
BuilderInterface
;
35
42
public
function
withLeadsToExactlyOneElement
(
43
bool
$leads_to_one
44
):
BuilderInterface
;
45
50
public
function
withNextStep
(
51
string
$name,
52
bool
$add_as_first =
false
53
):
BuilderInterface
;
54
60
public
function
withNextStepToSuperElement
(
61
bool
$add_as_first =
false
62
):
BuilderInterface
;
63
78
public
function
withAdditionalFilterAtCurrentStep
(
79
FilterType
$type,
80
string
...$values
81
):
BuilderInterface
;
82
83
public
function
get
():
PathInterface
;
84
85
public
function
withNextStepFromStep
(
86
StepInterface
$next_step,
87
bool
$add_as_first =
false
88
):
BuilderInterface
;
89
}
ILIAS\MetaData\Paths\Steps\StepInterface
Definition:
StepInterface.php:25
ILIAS\MetaData\Paths
Definition:
Builder.php:21
ILIAS\MetaData\Paths\Filters\FilterType
FilterType
Values should always be all lowercase.
Definition:
FilterType.php:26
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
ILIAS\MetaData\Paths\BuilderInterface\withNextStep
withNextStep(string $name, bool $add_as_first=false)
Add the next step to the path.
ILIAS\MetaData\Paths\BuilderInterface\withAdditionalFilterAtCurrentStep
withAdditionalFilterAtCurrentStep(FilterType $type, string ... $values)
Adds a filter to the current step, restricting what elements are included in it:
ILIAS\MetaData\Paths\Steps\StepToken
StepToken
The string representation of these tokens must not occur as names of metadata elements.
Definition:
StepToken.php:27
ILIAS\MetaData\Paths\BuilderInterface\withNextStepFromStep
withNextStepFromStep(StepInterface $next_step, bool $add_as_first=false)
ILIAS\MetaData\Paths\BuilderInterface\withLeadsToExactlyOneElement
withLeadsToExactlyOneElement(bool $leads_to_one)
Building a path that is flagged to lead to exactly one element, but does not actually do so can throw...
ILIAS\MetaData\Paths\BuilderInterface\withNextStepToSuperElement
withNextStepToSuperElement(bool $add_as_first=false)
Add going to the super element as the next step to the path.
DefinitionInterface
StepInterface
ILIAS\MetaData\Paths\BuilderInterface
Definition:
BuilderInterface.php:28
ILIAS\MetaData\Paths\BuilderInterface\withRelative
withRelative(bool $is_relative)
Relative paths start at some otherwise determined element, absolute paths start at root...
components
ILIAS
MetaData
classes
Paths
BuilderInterface.php
Generated on Fri Apr 4 2025 23:03:35 for ILIAS by
1.8.13 (using
Doxyfile
)