ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Public Member Functions | |
withRelative (bool $is_relative) | |
Relative paths start at some otherwise determined element, absolute paths start at root. More... | |
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 errors later on. More... | |
withNextStep (string $name, bool $add_as_first=false) | |
Add the next step to the path. More... | |
withNextStepToSuperElement (bool $add_as_first=false) | |
Add going to the super element as the next step to the path. More... | |
withAdditionalFilterAtCurrentStep (FilterType $type, string ... $values) | |
Adds a filter to the current step, restricting what elements are included in it: More... | |
get () | |
withNextStepFromStep (StepInterface $next_step, bool $add_as_first=false) | |
Definition at line 28 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::get | ( | ) |
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 55 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::withAdditionalFilterAtCurrentStep | ( | FilterType | $type, |
string ... | $values | ||
) |
Adds a filter to the current step, restricting what elements are included in it:
Multiple values in the same filter are treated as OR, multiple filters at the same step are treated as AND.
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 50 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::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 errors later on.
If you set this flag, be sure to set filters correctly. Default is false.
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 35 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::withNextStep | ( | string | $name, |
bool | $add_as_first = false |
||
) |
Add the next step to the path.
If add_as_first is set true, the step is added as the first and not the last step.
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 40 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::withNextStepFromStep | ( | StepInterface | $next_step, |
bool | $add_as_first = false |
||
) |
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 60 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::withNextStepToSuperElement | ( | bool | $add_as_first = false | ) |
Add going to the super element as the next step to the path.
If add_to_front is set true, the step is added as the first and not the last step.
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 45 of file NullBuilder.php.
ILIAS\MetaData\Paths\NullBuilder::withRelative | ( | bool | $is_relative | ) |
Relative paths start at some otherwise determined element, absolute paths start at root.
Default is false.
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 30 of file NullBuilder.php.