class ChoiceListView
Represents a choice list in templates.
A choice list contains choices and optionally preferred choices which are displayed in the very beginning of the list. Both choices and preferred choices may be grouped in {@link ChoiceGroupView} instances.
ChoiceGroupView[]|ChoiceView[] | $choices | The choices. |
ChoiceGroupView[]|ChoiceView[] | $preferredChoices | The preferred choices. |
__construct(array $choices = array(), array $preferredChoices = array()) Creates a new choice list view. |
Creates a new choice list view.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Form/ChoiceList/View/ChoiceListView.html