mediatekformation

ChoiceGroupView
in package
implements IteratorAggregate

Represents a group of choices in templates.

Tags
author

Bernhard Schussek bschussek@gmail.com

Interfaces, Classes, Traits and Enums

IteratorAggregate

Table of Contents

$choices  : mixed
$label  : mixed
__construct()  : mixed
Creates a new choice group view.
getIterator()  : Traversable<string|int, \Symfony\Component\Form\ChoiceList\View\ChoiceGroupView|\Symfony\Component\Form\ChoiceList\View\ChoiceView>
{@inheritdoc}

Properties

Methods

__construct()

Creates a new choice group view.

public __construct(string $label[, array<string|int, ChoiceGroupView>|array<string|int, ChoiceView$choices = [] ]) : mixed
Parameters
$label : string

The label of the group

$choices : array<string|int, ChoiceGroupView>|array<string|int, ChoiceView> = []

the choice views in the group

Return values
mixed

getIterator()

{@inheritdoc}

public getIterator() : Traversable<string|int, \Symfony\Component\Form\ChoiceList\View\ChoiceGroupView|\Symfony\Component\Form\ChoiceList\View\ChoiceView>
Return values
Traversable<string|int, \Symfony\Component\Form\ChoiceList\View\ChoiceGroupView|\Symfony\Component\Form\ChoiceList\View\ChoiceView>

Search results