ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (StructureSetInterface $structure) | |
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... | |
withNextStepFromStep (StepInterface $next_step, bool $add_as_first=false) | |
withAdditionalFilterAtCurrentStep (FilterType $type, string ... $values) | |
get () | |
getWithoutValidation () | |
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) | |
Protected Member Functions | |
getFinishedPath (bool $validate) | |
validatePathFromRoot (PathInterface $path) | |
withNextStepFromName (string|StepToken $name, bool $add_as_first=false) | |
withCurrentStepSaved () | |
Protected Attributes | |
StructureSetInterface | $structure |
array | $steps = [] |
string StepToken null | $current_step_name = null |
array | $current_step_filters = [] |
bool | $current_add_as_first = false |
bool | $is_relative = false |
bool | $leads_to_one = false |
Definition at line 31 of file Builder.php.
ILIAS\MetaData\Paths\Builder::__construct | ( | StructureSetInterface | $structure | ) |
Definition at line 35 of file Builder.php.
References ILIAS\MetaData\Paths\Builder\$structure.
ILIAS\MetaData\Paths\Builder::get | ( | ) |
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 126 of file Builder.php.
|
protected |
Definition at line 139 of file Builder.php.
References $path.
ILIAS\MetaData\Paths\Builder::getWithoutValidation | ( | ) |
Definition at line 134 of file Builder.php.
|
protected |
Definition at line 157 of file Builder.php.
References $path, and ILIAS\MetaData\Paths\Steps\SUPER.
ILIAS\MetaData\Paths\Builder::withAdditionalFilterAtCurrentStep | ( | FilterType | $type, |
string ... | $values | ||
) |
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 106 of file Builder.php.
|
protected |
Definition at line 186 of file Builder.php.
ILIAS\MetaData\Paths\Builder::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 63 of file Builder.php.
ILIAS\MetaData\Paths\Builder::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 71 of file Builder.php.
|
protected |
Definition at line 176 of file Builder.php.
ILIAS\MetaData\Paths\Builder::withNextStepFromStep | ( | StepInterface | $next_step, |
bool | $add_as_first = false |
||
) |
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 89 of file Builder.php.
References ILIAS\MetaData\Paths\BuilderInterface\withAdditionalFilterAtCurrentStep().
ILIAS\MetaData\Paths\Builder::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 81 of file Builder.php.
References ILIAS\MetaData\Paths\Steps\SUPER.
ILIAS\MetaData\Paths\Builder::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 56 of file Builder.php.
References ILIAS\MetaData\Paths\Builder\$is_relative.
|
protected |
Definition at line 51 of file Builder.php.
|
protected |
Definition at line 50 of file Builder.php.
|
protected |
Definition at line 45 of file Builder.php.
|
protected |
Definition at line 53 of file Builder.php.
Referenced by ILIAS\MetaData\Paths\Builder\withRelative().
|
protected |
Definition at line 54 of file Builder.php.
|
protected |
Definition at line 43 of file Builder.php.
|
protected |
Definition at line 33 of file Builder.php.
Referenced by ILIAS\MetaData\Paths\Builder\__construct().