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