ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
SegmentRetrieval.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
30 {
36  public function getAllPositions(
37  ServerRequestInterface $request,
38  mixed $viewcontrol_values,
39  mixed $filter_values
40  ): array;
41 
45  public function getSegment(
46  ServerRequestInterface $request,
47  mixed $position_data,
48  mixed $viewcontrol_values,
49  mixed $filter_values
50  ): Segment;
51 }
getAllPositions(ServerRequestInterface $request, mixed $viewcontrol_values, mixed $filter_values)
Provides available positions as an iterable list of (sets of) information necessary to identify and f...
A segment is the content resulting from operating a sequence.
Definition: Segment.php:29
The SegmentRetrieval defines available stops for the sequence and builds it&#39;s segments.
getSegment(ServerRequestInterface $request, mixed $position_data, mixed $viewcontrol_values, mixed $filter_values)
Receives position data (provided by getAllPositions) and builds a segment.