PHP Class Elcodi\Admin\CurrencyBundle\Form\DataMapper\MoneyDataMapper

Inheritance: implements Symfony\Component\Form\DataMapperInterface
Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode Description
mapDataToForms ( mixed $data, Symfony\Component\Form\FormInterface[] $forms ) Maps properties of some data to a list of forms.
mapFormsToData ( Symfony\Component\Form\FormInterface[] $forms, mixed &$data ) Maps the data of a list of forms into the properties of some data.

Method Details

mapDataToForms() public méthode

Maps properties of some data to a list of forms.
public mapDataToForms ( mixed $data, Symfony\Component\Form\FormInterface[] $forms )
$data mixed Structured data.
$forms Symfony\Component\Form\FormInterface[] A list of {@link FormInterface} instances.

mapFormsToData() public méthode

Maps the data of a list of forms into the properties of some data.
public mapFormsToData ( Symfony\Component\Form\FormInterface[] $forms, mixed &$data )
$forms Symfony\Component\Form\FormInterface[] A list of {@link FormInterface} instances.
$data mixed Structured data.