Symfony\Component\Form\FormConfigBuilderInterface
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
interface FormConfigBuilderInterface
extends FormConfigInterface
{
- // methods
- public self addEventListener()
- public self addEventSubscriber()
- public self addViewTransformer()
- public self resetViewTransformers()
- public self addModelTransformer()
- public self resetModelTransformers()
- public self setAttribute()
- public self setAttributes()
- public self setDataMapper()
- public self setDisabled()
- public self setEmptyData()
- public self setErrorBubbling()
- public self setRequired()
- public self setPropertyPath()
- public self setMapped()
- public self setByReference()
- public self setInheritData()
- public self setCompound()
- public self setType()
- public self setData()
- public self setDataLocked()
- public void setFormFactory()
- public self setAction()
- public self setMethod()
- public self setRequestHandler()
- public self setAutoInitialize()
- public FormConfigInterface getFormConfig()
- // Inherited methods from FormConfigInterface
- 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
Extends
Extended by
Implemented by
Methods
public
- addEventListener() — Adds an event listener to an event on this form.
- addEventSubscriber() — Adds an event subscriber for events on this form.
- addModelTransformer() — Prepends / appends a transformer to the normalization transformer chain.
- addViewTransformer() — Appends / prepends a transformer to the view transformer chain.
- getFormConfig() — Builds and returns the form configuration.
- resetModelTransformers() — Clears the normalization transformers.
- resetViewTransformers() — Clears the view transformers.
- setAction() — Sets the target URL of the form.
- setAttribute() — Sets the value for an attribute.
- setAttributes() — Sets the attributes.
- setAutoInitialize() — Sets whether the form should be initialized automatically.
- setByReference() — Sets whether the form's data should be modified by reference.
- setCompound() — Sets whether the form should be compound.
- setData() — Sets the initial data of the form.
- setDataLocked() — Locks the form's data to the data passed in the configuration.
- setDataMapper() — Sets the data mapper used by the form.
- setDisabled() — Set whether the form is disabled.
- setEmptyData() — Sets the data used for the client data when no value is submitted.
- setErrorBubbling() — Sets whether errors bubble up to the parent.
- setFormFactory() — Sets the form factory used for creating new forms.
- setInheritData() — Sets whether the form should read and write the data of its parent.
- setMapped() — Sets whether the form should be mapped to an element of its parent's data.
- setMethod() — Sets the HTTP method used by the form.
- setPropertyPath() — Sets the property path that the form should be mapped to.
- setRequestHandler() — Sets the request handler used by the form.
- setRequired() — Sets whether this field is required to be filled out when submitted.
- setType() — Set the types.
Inherited from Symfony\Component\Form\FormConfigInterface
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.