Symfony\Component\Form\FormConfigInterface
The configuration of a {@link Form} object.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
interface FormConfigInterface
{
- // methods
- public EventDispatcherInterface getEventDispatcher()
- public string getName()
- public PropertyPathInterface getPropertyPath()
- public Boolean getMapped()
- public Boolean getByReference()
- public Boolean getInheritData()
- public Boolean getCompound()
- public ResolvedFormTypeInterface getType()
- public array getViewTransformers()
- public array getModelTransformers()
- public DataMapperInterface getDataMapper()
- public Boolean getRequired()
- public Boolean getDisabled()
- public Boolean getErrorBubbling()
- public mixed getEmptyData()
- public array getAttributes()
- public Boolean hasAttribute()
- public mixed getAttribute()
- public mixed getData()
- public string getDataClass()
- public Boolean getDataLocked()
- public FormFactoryInterface getFormFactory()
- public string getAction()
- public string getMethod()
- public RequestHandlerInterface getRequestHandler()
- public Boolean getAutoInitialize()
- public array getOptions()
- public Boolean hasOption()
- public mixed getOption()
Hierarchy
Extended by
Methods
public
- getAction() — Returns the target URL of the form.
- getAttribute() — Returns the value of the given attribute.
- getAttributes() — Returns additional attributes of the form.
- getAutoInitialize() — Returns whether the form should be initialized upon creation.
- getByReference() — Returns whether the form's data should be modified by reference.
- getCompound() — Returns whether the form is compound.
- getData() — Returns the initial data of the form.
- getDataClass() — Returns the class of the form data or null if the data is scalar or an array.
- getDataLocked() — Returns whether the form's data is locked.
- getDataMapper() — Returns the data mapper of the form.
- getDisabled() — Returns whether the form is disabled.
- getEmptyData() — Returns the data that should be returned when the form is empty.
- getErrorBubbling() — Returns whether errors attached to the form will bubble to its parent.
- getEventDispatcher() — Returns the event dispatcher used to dispatch form events.
- getFormFactory() — Returns the form factory used for creating new forms.
- getInheritData() — Returns whether the form should read and write the data of its parent.
- getMapped() — Returns whether the form should be mapped to an element of its parent's data.
- getMethod() — Returns the HTTP method used by the form.
- getModelTransformers() — Returns the model transformers of the form.
- getName() — Returns the name of the form used as HTTP parameter.
- getOption() — Returns the value of a specific option.
- getOptions() — Returns all options passed during the construction of the form.
- getPropertyPath() — Returns the property path that the form should be mapped to.
- getRequestHandler() — Returns the request handler used by the form.
- getRequired() — Returns whether the form is required.
- getType() — Returns the form types used to construct the form.
- getViewTransformers() — Returns the view transformers of the form.
- hasAttribute() — Returns whether the attribute with the given name exists.
- hasOption() — Returns whether a specific option exists.