ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Rating.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
28interface Rating extends FormInput
29{
34 public function withAdditionalText(string $text): static;
35
40 public function withCurrentAverage(?float $current_average): static;
41}
This describes inputs that can be used in forms.
Definition: FormInput.php:33
This is what a Rating Input looks like.
Definition: Rating.php:29
withAdditionalText(string $text)
This text is diplayed over the actual input/stars to describe the issue to be rated (as opposed to th...
withCurrentAverage(?float $current_average)
You may indicated an avarage value, e.g from former ratings.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Checkbox.php:21