ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
SegmentRetrieval.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use Psr\Http\Message\ServerRequestInterface;
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}
The SegmentRetrieval defines available stops for the sequence and builds it's segments.
getSegment(ServerRequestInterface $request, mixed $position_data, mixed $viewcontrol_values, mixed $filter_values)
Receives position data (provided by getAllPositions) and builds a segment.
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:30