ModelChoiceList::getValuesForChoices()

array getValuesForChoices(array $models)

Returns the values corresponding to the given choices.

The values must be strings.

The values must be returned with the same keys and in the same order as the corresponding choices in the given array.

Parameters

array $models

Return Value

array An array of choice values with ascending, 0-based numeric keys
doc_Symfony
2016-10-28 06:23:56
Comments
Leave a Comment

Please login to continue.