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