SubmitButtonBuilder (Component\Form)
Symfony\Component\Form\SubmitButtonBuilder
class SubmitButtonBuilder extends ButtonBuilder
A builder for {@link SubmitButton} instances.
Methods
__construct(string $name, array $options = array()) Creates a new button builder. | from ButtonBuilder | |
FormBuilderInterface | add(string|integer|FormBuilderInterface $child, string|FormTypeInterface $type = null, array $options = array()) Unsupported method. | from ButtonBuilder |
FormBuilderInterface | create(string $name, string|FormTypeInterface $type = null, array $options = array()) Unsupported method. | from ButtonBuilder |
FormBuilderInterface | get(string $name) Unsupported method. | from ButtonBuilder |
FormBuilderInterface | remove(string $name) Unsupported method. | from ButtonBuilder |
Boolean | has(string $name) Unsupported method. | from ButtonBuilder |
array | all() Returns the children. | from ButtonBuilder |
SubmitButton | getForm() Creates the button. | |
FormConfigBuilderInterface | addEventListener(string $eventName, callable $listener, integer $priority) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | addEventSubscriber(EventSubscriberInterface $subscriber) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | addViewTransformer(DataTransformerInterface $viewTransformer, Boolean $forcePrepend = false) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | resetViewTransformers() Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | addModelTransformer(DataTransformerInterface $modelTransformer, Boolean $forceAppend = false) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | resetModelTransformers() Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setAttribute(string $name, string $value) Sets the value for an attribute. | from ButtonBuilder |
FormConfigBuilderInterface | setAttributes(array $attributes) Sets the attributes. | from ButtonBuilder |
FormConfigBuilderInterface | setDataMapper(DataMapperInterface $dataMapper = null) Unsupported method. | from ButtonBuilder |
ButtonBuilder | setDisabled(Boolean $disabled) Set whether the button is disabled. | from ButtonBuilder |
FormConfigBuilderInterface | setEmptyData(mixed $emptyData) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setErrorBubbling(Boolean $errorBubbling) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setRequired(Boolean $required) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setPropertyPath(null $propertyPath) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setMapped(Boolean $mapped) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setByReference(Boolean $byReference) Unsupported method. | from ButtonBuilder |
setVirtual(Boolean $virtual) Unsupported method. | from ButtonBuilder | |
FormConfigBuilderInterface | setCompound(Boolean $compound) Unsupported method. | from ButtonBuilder |
ButtonBuilder | setType(ResolvedFormTypeInterface $type) Sets the type of the button. | from ButtonBuilder |
FormConfigBuilderInterface | setData(array $data) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setDataLocked(Boolean $locked) Unsupported method. | from ButtonBuilder |
void | setFormFactory(FormFactoryInterface $formFactory) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setAction(string $action) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setMethod(string $method) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setRequestHandler(RequestHandlerInterface $requestHandler) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setAutoInitialize(Boolean $initialize) Unsupported method. | from ButtonBuilder |
FormConfigBuilderInterface | setInheritData(Boolean $inheritData) Unsupported method. | from ButtonBuilder |
FormConfigInterface | getFormConfig() Builds and returns the button configuration. | from ButtonBuilder |
null | getEventDispatcher() Unsupported method. | from ButtonBuilder |
string | getName() Returns the name of the form used as HTTP parameter. | from ButtonBuilder |
null | getPropertyPath() Unsupported method. | from ButtonBuilder |
Boolean | getMapped() Unsupported method. | from ButtonBuilder |
Boolean | getByReference() Unsupported method. | from ButtonBuilder |
Boolean | getVirtual() Unsupported method. | from ButtonBuilder |
Boolean | getCompound() Unsupported method. | from ButtonBuilder |
ResolvedFormTypeInterface | getType() Returns the form type used to construct the button. | from ButtonBuilder |
array | getViewTransformers() Unsupported method. | from ButtonBuilder |
array | getModelTransformers() Unsupported method. | from ButtonBuilder |
null | getDataMapper() Unsupported method. | from ButtonBuilder |
Boolean | getRequired() Unsupported method. | from ButtonBuilder |
Boolean | getDisabled() Returns whether the button is disabled. | from ButtonBuilder |
Boolean | getErrorBubbling() Unsupported method. | from ButtonBuilder |
null | getEmptyData() Unsupported method. | from ButtonBuilder |
array | getAttributes() Returns additional attributes of the button. | from ButtonBuilder |
Boolean | hasAttribute(string $name) Returns whether the attribute with the given name exists. | from ButtonBuilder |
mixed | getAttribute(string $name, mixed $default = null) Returns the value of the given attribute. | from ButtonBuilder |
null | getData() Unsupported method. | from ButtonBuilder |
null | getDataClass() Unsupported method. | from ButtonBuilder |
Boolean | getDataLocked() Unsupported method. | from ButtonBuilder |
null | getFormFactory() Unsupported method. | from ButtonBuilder |
null | getAction() Unsupported method. | from ButtonBuilder |
null | getMethod() Unsupported method. | from ButtonBuilder |
null | getRequestHandler() Unsupported method. | from ButtonBuilder |
Boolean | getAutoInitialize() Unsupported method. | from ButtonBuilder |
Boolean | getInheritData() Unsupported method. | from ButtonBuilder |
array | getOptions() Returns all options passed during the construction of the button. | from ButtonBuilder |
Boolean | hasOption(string $name) Returns whether a specific option exists. | from ButtonBuilder |
mixed | getOption(string $name, mixed $default = null) Returns the value of a specific option. | from ButtonBuilder |
integer | count() Unsupported method. | from ButtonBuilder |
EmptyIterator | getIterator() Unsupported method. | from ButtonBuilder |
Details
public __construct(string $name, array $options = array())
Creates a new button builder.
public FormBuilderInterface add(string|integer|FormBuilderInterface $child, string|FormTypeInterface $type = null, array $options = array())
Unsupported method.
This method should not be invoked.
public FormBuilderInterface create(string $name, string|FormTypeInterface $type = null, array $options = array())
Unsupported method.
This method should not be invoked.
public FormBuilderInterface get(string $name)
Unsupported method.
This method should not be invoked.
public FormBuilderInterface remove(string $name)
Unsupported method.
This method should not be invoked.
public Boolean has(string $name)
Unsupported method.
public array all()
Returns the children.
public SubmitButton getForm()
Creates the button.
public FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, integer $priority)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface addEventSubscriber(EventSubscriberInterface $subscriber)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface addViewTransformer(DataTransformerInterface $viewTransformer, Boolean $forcePrepend = false)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface resetViewTransformers()
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface addModelTransformer(DataTransformerInterface $modelTransformer, Boolean $forceAppend = false)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface resetModelTransformers()
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setAttribute(string $name, string $value)
Sets the value for an attribute.
public FormConfigBuilderInterface setAttributes(array $attributes)
Sets the attributes.
public FormConfigBuilderInterface setDataMapper(DataMapperInterface $dataMapper = null)
Unsupported method.
This method should not be invoked.
public ButtonBuilder setDisabled(Boolean $disabled)
Set whether the button is disabled.
public FormConfigBuilderInterface setEmptyData(mixed $emptyData)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setErrorBubbling(Boolean $errorBubbling)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setRequired(Boolean $required)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setPropertyPath(null $propertyPath)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setMapped(Boolean $mapped)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setByReference(Boolean $byReference)
Unsupported method.
This method should not be invoked.
public setVirtual(Boolean $virtual)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setCompound(Boolean $compound)
Unsupported method.
This method should not be invoked.
public ButtonBuilder setType(ResolvedFormTypeInterface $type)
Sets the type of the button.
public FormConfigBuilderInterface setData(array $data)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setDataLocked(Boolean $locked)
Unsupported method.
This method should not be invoked.
public void setFormFactory(FormFactoryInterface $formFactory)
Unsupported method.
This method should not be invoked.
public FormConfigBuilderInterface setAction(string $action)
Unsupported method.
public FormConfigBuilderInterface setMethod(string $method)
Unsupported method.
public FormConfigBuilderInterface setRequestHandler(RequestHandlerInterface $requestHandler)
Unsupported method.
public FormConfigBuilderInterface setAutoInitialize(Boolean $initialize)
Unsupported method.
public FormConfigBuilderInterface setInheritData(Boolean $inheritData)
Unsupported method.
public FormConfigInterface getFormConfig()
Builds and returns the button configuration.
public null getEventDispatcher()
Unsupported method.
public string getName()
Returns the name of the form used as HTTP parameter.
public null getPropertyPath()
Unsupported method.
public Boolean getMapped()
Unsupported method.
public Boolean getByReference()
Unsupported method.
public Boolean getVirtual()
Unsupported method.
public Boolean getCompound()
Unsupported method.
public ResolvedFormTypeInterface getType()
Returns the form type used to construct the button.
public array getViewTransformers()
Unsupported method.
public array getModelTransformers()
Unsupported method.
public null getDataMapper()
Unsupported method.
public Boolean getRequired()
Unsupported method.
public Boolean getDisabled()
Returns whether the button is disabled.
public Boolean getErrorBubbling()
Unsupported method.
public null getEmptyData()
Unsupported method.
public array getAttributes()
Returns additional attributes of the button.
public Boolean hasAttribute(string $name)
Returns whether the attribute with the given name exists.
public mixed getAttribute(string $name, mixed $default = null)
Returns the value of the given attribute.
public null getData()
Unsupported method.
public null getDataClass()
Unsupported method.
public Boolean getDataLocked()
Unsupported method.
public null getFormFactory()
Unsupported method.
public null getAction()
Unsupported method.
public null getMethod()
Unsupported method.
public null getRequestHandler()
Unsupported method.
public Boolean getAutoInitialize()
Unsupported method.
public Boolean getInheritData()
Unsupported method.
public array getOptions()
Returns all options passed during the construction of the button.
public Boolean hasOption(string $name)
Returns whether a specific option exists.
public mixed getOption(string $name, mixed $default = null)
Returns the value of a specific option.
public integer count()
Unsupported method.
public EmptyIterator getIterator()
Unsupported method.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Form/SubmitButtonBuilder.html