FormConfigBuilderInterface::setDataMapper()

FormConfigBuilderInterface setDataMapper(DataMapperInterface $dataMapper = null) Sets the data mapper used by the form. Parameters DataMapperInterface $dataMapper Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setEmptyData()

FormConfigBuilderInterface setEmptyData(mixed $emptyData) Sets the data used for the client data when no value is submitted. Parameters mixed $emptyData The empty data Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setData()

FormConfigBuilderInterface setData(mixed $data) Sets the initial data of the form. Parameters mixed $data The data of the form in application format Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setDataLocked()

FormConfigBuilderInterface setDataLocked(bool $locked) Locks the form's data to the data passed in the configuration. A form with locked data is restricted to the data passed in this configuration. The data can only be modified then by submitting the form. Parameters bool $locked Whether to lock the default data Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setByReference()

FormConfigBuilderInterface setByReference(bool $byReference) Sets whether the form's data should be modified by reference. Parameters bool $byReference Whether the data should be modified by reference. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setCompound()

FormConfigBuilderInterface setCompound(bool $compound) Sets whether the form should be compound. Parameters bool $compound Whether the form should be compound Return Value FormConfigBuilderInterface The configuration object See also FormConfigInterface::getCompound()

FormConfigBuilderInterface::setAutoInitialize()

FormConfigBuilderInterface setAutoInitialize(bool $initialize) Sets whether the form should be initialized automatically. Should be set to true only for root forms. Parameters bool $initialize True to initialize the form automatically, false to suppress automatic initialization. In the second case, you need to call {@link FormInterface::initialize()} manually. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setAttribute()

FormConfigBuilderInterface setAttribute(string $name, mixed $value) Sets the value for an attribute. Parameters string $name The name of the attribute mixed $value The value of the attribute Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::resetViewTransformers()

FormConfigBuilderInterface resetViewTransformers() Clears the view transformers. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setAttributes()

FormConfigBuilderInterface setAttributes(array $attributes) Sets the attributes. Parameters array $attributes The attributes Return Value FormConfigBuilderInterface The configuration object