ChoicesToBooleanArrayTransformer deprecated::reverseTransform()

mixed reverseTransform(mixed $values)

Transforms a checkbox/radio button array to an array of choices.

The input value is an array with the choices as keys and true/false as values, depending on whether a given choice is selected. The output is an array with the selected choices.

Parameters

mixed $values An array

Return Value

mixed The value in the original representation

Exceptions

TransformationFailedException If the given value is not an array, if the recuperation of the choices fails or if some choice can't be found.
doc_Symfony
2016-10-28 06:08:43
Comments
Leave a Comment

Please login to continue.