ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Radio.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Component\Input\Field
;
22
23
use
ILIAS\UI\Component\Input\Container\Form\FormInput
;
24
28
interface
Radio
extends
FormInput
29
{
33
public
function
withOption
(
string
$value,
string
$label, ?
string
$byline =
null
):
Radio
;
34
40
public
function
getOptions
(): array;
41
46
public
function
getBylineFor
(
string
$value): ?string;
47
}
ILIAS\UI\Component\Input\Field\Radio\withOption
withOption(string $value, string $label, ?string $byline=null)
Add an option-entry to the radio-input.
ILIAS\UI\Component\Input\Field\Radio\getOptions
getOptions()
Get all options as value=>label.
FormInput
ILIAS\UI\Component\Input\Field\Radio
This is what a radio-input looks like.
Definition:
Radio.php:28
ILIAS\UI\Component\Input\Field
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Checkbox.php:21
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\UI\Component\Input\Field\Radio\getBylineFor
getBylineFor(string $value)
Get byline for a single option.
ILIAS\UI\Component\Input\Container\Form\FormInput
This describes inputs that can be used in forms.
Definition:
FormInput.php:32
components
ILIAS
UI
src
Component
Input
Field
Radio.php
Generated on Sun Aug 31 2025 23:04:07 for ILIAS by
1.8.13 (using
Doxyfile
)