ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
Radio.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
28interface Radio extends HasOptionFilter
29{
33 public function withOption(string $value, string $label, ?string $byline = null): Radio;
34
39 public function getBylineFor(string $value): ?string;
40}
This describes inputs that can be used in forms.
Definition: FormInput.php:33
Allows fields with list-like items to be collapsible with a searchbar filter.
This is what a radio-input looks like.
Definition: Radio.php:29
getBylineFor(string $value)
Get byline for a single option.
withOption(string $value, string $label, ?string $byline=null)
Add an option-entry to the radio-input.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Checkbox.php:21