| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for ILIAS\MetaData\Paths\Builder:
 Collaboration diagram for ILIAS\MetaData\Paths\Builder: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) | |
| Adds a filter to the current step, restricting what elements are included in it:  More... | |
| get () | |
Protected Member Functions | |
| 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 | ) | 
| ILIAS\MetaData\Paths\Builder::get | ( | ) | 
Implements ILIAS\MetaData\Paths\BuilderInterface.
Definition at line 123 of file Builder.php.
References $path, ILIAS\MetaData\Paths\Builder\validatePathFromRoot(), and ILIAS\MetaData\Paths\Builder\withCurrentStepSaved().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 141 of file Builder.php.
References ILIAS\MetaData\Paths\PathInterface\steps(), ILIAS\MetaData\Paths\Steps\SUPER, and ILIAS\MetaData\Paths\PathInterface\toString().
Referenced by ILIAS\MetaData\Paths\Builder\get().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\MetaData\Paths\Builder::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 103 of file Builder.php.
      
  | 
  protected | 
Definition at line 170 of file Builder.php.
Referenced by ILIAS\MetaData\Paths\Builder\get(), and ILIAS\MetaData\Paths\Builder\withNextStepFromName().
 Here is the caller graph for this function:| 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.
References ILIAS\MetaData\Paths\Builder\$leads_to_one.
| 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.
References ILIAS\MetaData\Paths\Builder\withNextStepFromName().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 160 of file Builder.php.
References ILIAS\MetaData\Paths\Builder\withCurrentStepSaved().
Referenced by ILIAS\MetaData\Paths\Builder\withNextStep(), ILIAS\MetaData\Paths\Builder\withNextStepFromStep(), and ILIAS\MetaData\Paths\Builder\withNextStepToSuperElement().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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\Steps\StepInterface\filters(), ILIAS\MetaData\Paths\Steps\StepInterface\name(), and ILIAS\MetaData\Paths\Builder\withNextStepFromName().
 Here is the call graph for this function:| 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, and ILIAS\MetaData\Paths\Builder\withNextStepFromName().
 Here is the call graph for this function:| 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.
Referenced by ILIAS\MetaData\Paths\Builder\withLeadsToExactlyOneElement().
      
  | 
  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().