FormConfigInterface::getDataLocked()

bool getDataLocked() Returns whether the form's data is locked. 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. Return Value bool Whether the data is locked

FormConfigInterface::getCompound()

bool getCompound() Returns whether the form is compound. This property is independent of whether the form actually has children. A form can be compound and have no children at all, like for example an empty collection form. Return Value bool Whether the form is compound

FormConfigInterface::getByReference()

bool getByReference() Returns whether the form's data should be modified by reference. Return Value bool Whether to modify the form's data by reference

FormConfigInterface::getDataClass()

string getDataClass() Returns the class of the form data or null if the data is scalar or an array. Return Value string The data class or null

FormConfigInterface::getData()

mixed getData() Returns the initial data of the form. Return Value mixed The initial form data

FormConfigInterface::getAutoInitialize()

bool getAutoInitialize() Returns whether the form should be initialized upon creation. Return Value bool Returns true if the form should be initialized when created, false otherwise.

FormConfigInterface::getAttribute()

mixed getAttribute(string $name, mixed $default = null) Returns the value of the given attribute. Parameters string $name The attribute name mixed $default The value returned if the attribute does not exist Return Value mixed The attribute value

FormConfigInterface::getAttributes()

array getAttributes() Returns additional attributes of the form. Return Value array An array of key-value combinations

FormConfigInterface::getAction()

string getAction() Returns the target URL of the form. Return Value string The target URL of the form

FormConfigInterface

interface FormConfigInterface The configuration of a {@link Form} object. Methods EventDispatcherInterface getEventDispatcher() Returns the event dispatcher used to dispatch form events. string getName() Returns the name of the form used as HTTP parameter. null|PropertyPathInterface getPropertyPath() Returns the property path that the form should be mapped to. bool getMapped() Returns whether the form should be mapped to an element of its parent's data. bool getByRefe