ChoiceListInterface
class ChoiceView Represents a choice in templates. Properties
array getChoices() Returns all selectable choices.
string[] getValuesForChoices(array $choices) Returns the values corresponding to the given choices
ChoiceListView createView(
int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original
Classes
interface ChoiceLoaderInterface Loads a choice list. The methods {@link loadChoicesForValues()}
array getChoicesForValues(array $values) Returns the choices corresponding to the given values
string[] getStructuredValues() Returns the values in the structure originally passed to the list
Page 5 of 6