KMP PHP API Reference

LabelLegendWidget extends LabelWidget
in package

Label widget class for generating label or legend depending on type of inputs.

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

Table of Contents

Properties

$_templateForLabel  : string
The template to use for labels.
$_templateForLegend  : string
The template to use for legends.

Methods

render()  : string
{@inheritDoc}

Properties

$_templateForLabel

The template to use for labels.

protected string $_templateForLabel = "label"

$_templateForLegend

The template to use for legends.

protected string $_templateForLegend = "labelLegend"

Methods

render()

{@inheritDoc}

public render(array<string|int, mixed> $data, ContextInterface $context) : string
Parameters
$data : array<string|int, mixed>
$context : ContextInterface
Return values
string

        
On this page

Search results