KMP PHP API Reference

InlineRadioWidget extends RadioWidget
in package

Input widget class for generating a set of inline radio buttons.

This class is intended as an internal implementation detail of Cake\View\Helper\BootstrapFormHelper and is not intended for direct use.

Table of Contents

Methods

_renderInput()  : string
Renders a single radio input and label.

Methods

_renderInput()

Renders a single radio input and label.

protected _renderInput(string|int $val, string|array<string|int, mixed> $text, array<string|int, mixed> $data, ContextInterface $context) : string
Parameters
$val : string|int

The value of the radio input.

$text : string|array<string|int, mixed>

The label text, or complex radio type.

$data : array<string|int, mixed>

Additional options for input generation.

$context : ContextInterface

The form context

Return values
string

        
On this page

Search results