ButtonBuilder
class ButtonBuilder implements IteratorAggregate, FormBuilderInterface
A builder for {@link Button} instances.
Methods
Creates a new button builder.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Returns the children.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Sets the value for an attribute.
Sets the attributes.
Set whether the button is disabled.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
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.
Details
at line line 63
__construct(string $name, array $options = array())
Creates a new button builder.
at line line 84
FormBuilderInterface
add(string|int|FormBuilderInterface $child, string|FormTypeInterface $type = null, array $options = array())
Unsupported method.
This method should not be invoked.
at line line 100
FormBuilderInterface
create(string $name, string|FormTypeInterface $type = null, array $options = array())
Unsupported method.
This method should not be invoked.
at line line 114
FormBuilderInterface
get(string $name)
Unsupported method.
This method should not be invoked.
at line line 128
FormBuilderInterface
remove(string $name)
Unsupported method.
This method should not be invoked.
at line line 140
bool
has(string $name)
Unsupported method.
at line line 150
array
all()
Returns the children.
at line line 160
Form
getForm()
Creates the button.
at line line 176
FormConfigBuilderInterface
addEventListener(string $eventName, callable $listener, int $priority)
Unsupported method.
This method should not be invoked.
at line line 190
FormConfigBuilderInterface
addEventSubscriber(EventSubscriberInterface $subscriber)
Unsupported method.
This method should not be invoked.
at line line 205
FormConfigBuilderInterface
addViewTransformer(DataTransformerInterface $viewTransformer, bool $forcePrepend = false)
Unsupported method.
This method should not be invoked.
at line line 217
FormConfigBuilderInterface
resetViewTransformers()
Unsupported method.
This method should not be invoked.
at line line 232
FormConfigBuilderInterface
addModelTransformer(DataTransformerInterface $modelTransformer, bool $forceAppend = false)
Unsupported method.
This method should not be invoked.
at line line 244
FormConfigBuilderInterface
resetModelTransformers()
Unsupported method.
This method should not be invoked.
at line line 252
FormConfigBuilderInterface
setAttribute(string $name, mixed $value)
Sets the value for an attribute.
at line line 262
FormConfigBuilderInterface
setAttributes(array $attributes)
Sets the attributes.
at line line 278
FormConfigBuilderInterface
setDataMapper(DataMapperInterface $dataMapper = null)
Unsupported method.
This method should not be invoked.
at line line 290
FormConfigBuilderInterface
setDisabled(bool $disabled)
Set whether the button is disabled.
at line line 306
FormConfigBuilderInterface
setEmptyData(mixed $emptyData)
Unsupported method.
This method should not be invoked.
at line line 320
FormConfigBuilderInterface
setErrorBubbling(bool $errorBubbling)
Unsupported method.
This method should not be invoked.
at line line 334
FormConfigBuilderInterface
setRequired(bool $required)
Unsupported method.
This method should not be invoked.
at line line 348
FormConfigBuilderInterface
setPropertyPath(null|string|PropertyPathInterface $propertyPath)
Unsupported method.
This method should not be invoked.
at line line 362
FormConfigBuilderInterface
setMapped(bool $mapped)
Unsupported method.
This method should not be invoked.
at line line 376
FormConfigBuilderInterface
setByReference(bool $byReference)
Unsupported method.
This method should not be invoked.
at line line 390
FormConfigBuilderInterface
setCompound(bool $compound)
Unsupported method.
This method should not be invoked.
at line line 402
FormConfigBuilderInterface
setType(ResolvedFormTypeInterface $type)
Sets the type of the button.
at line line 418
FormConfigBuilderInterface
setData(mixed $data)
Unsupported method.
This method should not be invoked.
at line line 432
FormConfigBuilderInterface
setDataLocked(bool $locked)
Unsupported method.
This method should not be invoked.
at line line 446
setFormFactory(FormFactoryInterface $formFactory)
Unsupported method.
This method should not be invoked.
at line line 458
FormConfigBuilderInterface
setAction(string $action)
Unsupported method.
at line line 470
FormConfigBuilderInterface
setMethod(string $method)
Unsupported method.
at line line 482
FormConfigBuilderInterface
setRequestHandler(RequestHandlerInterface $requestHandler)
Unsupported method.
at line line 496
FormConfigBuilderInterface
setAutoInitialize(bool $initialize)
Unsupported method.
at line line 512
FormConfigBuilderInterface
setInheritData(bool $inheritData)
Unsupported method.
at line line 522
FormConfigInterface
getFormConfig()
Builds and returns the button configuration.
at line line 534
EventDispatcherInterface
getEventDispatcher()
Unsupported method.
at line line 541
string
getName()
Returns the name of the form used as HTTP parameter.
at line line 549
null|PropertyPathInterface
getPropertyPath()
Unsupported method.
at line line 558
bool
getMapped()
Unsupported method.
at line line 568
bool
getByReference()
Unsupported method.
at line line 578
bool
getCompound()
Unsupported method.
at line line 588
ResolvedFormTypeInterface
getType()
Returns the form type used to construct the button.
at line line 598
DataTransformerInterface[]
getViewTransformers()
Unsupported method.
at line line 608
DataTransformerInterface[]
getModelTransformers()
Unsupported method.
at line line 616
DataMapperInterface
getDataMapper()
Unsupported method.
at line line 625
bool
getRequired()
Unsupported method.
at line line 635
bool
getDisabled()
Returns whether the button is disabled.
at line line 645
bool
getErrorBubbling()
Unsupported method.
at line line 653
mixed
getEmptyData()
Unsupported method.
at line line 662
array
getAttributes()
Returns additional attributes of the button.
at line line 674
bool
hasAttribute(string $name)
Returns whether the attribute with the given name exists.
at line line 687
mixed
getAttribute(string $name, mixed $default = null)
Returns the value of the given attribute.
at line line 695
mixed
getData()
Unsupported method.
at line line 702
string
getDataClass()
Unsupported method.
at line line 711
bool
getDataLocked()
Unsupported method.
at line line 719
FormFactoryInterface
getFormFactory()
Unsupported method.
at line line 726
string
getAction()
Unsupported method.
at line line 733
string
getMethod()
Unsupported method.
at line line 740
RequestHandlerInterface
getRequestHandler()
Unsupported method.
at line line 749
bool
getAutoInitialize()
Unsupported method.
at line line 759
bool
getInheritData()
Unsupported method.
at line line 769
array
getOptions()
Returns all options passed during the construction of the button.
at line line 781
bool
hasOption(string $name)
Returns whether a specific option exists.
at line line 794
mixed
getOption(string $name, mixed $default = null)
Returns the value of a specific option.
at line line 804
int
count()
Unsupported method.
at line line 814
EmptyIterator
getIterator()
Unsupported method.