ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Sequence.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use Psr\Http\Message\ServerRequestInterface;
27
28interface Sequence extends Component
29{
35 public function withRequest(ServerRequestInterface $request): static;
36
42 public function withViewControls(ViewControlContainer $viewcontrols): static;
43
49 public function withActions(StdButton ...$actions): static;
50
55 public function withId(string $id): static;
56}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
This describes a standard button.
Definition: Standard.php:27
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This describes a View Control Container.
Definition: ViewControl.php:30
withViewControls(ViewControlContainer $viewcontrols)
You may add view controls to the sequences's player that alter the way, order or focus in which the s...
withId(string $id)
The Sequence comes with a storage to keep ViewControl-settings throughout requests.
withRequest(ServerRequestInterface $request)
Rendering the sequence must be done using the current request: it (the request) will carry parameters...
withActions(StdButton ... $actions)
Add additional actions to the Sequence.