Symfony\Component\Form\Button
A form button.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class Button
implements
IteratorAggregate,FormInterface
{
- // members
- private FormInterface $parent;
- private FormConfigInterface $config;
- private Boolean $submitted;
- // methods
- public void __construct()
- public Boolean offsetExists()
- public void offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public void setParent()
- public void getParent()
- public void add()
- public void get()
- public Boolean has()
- public void remove()
- public void all()
- public void getErrors()
- public void setData()
- public null getData()
- public null getNormData()
- public null getViewData()
- public array getExtraData()
- public FormConfigInterface getConfig()
- public Boolean isSubmitted()
- public string getName()
- public null getPropertyPath()
- public void addError()
- public Boolean isValid()
- public Boolean isRequired()
- public void isDisabled()
- public Boolean isEmpty()
- public Boolean isSynchronized()
- public void initialize()
- public void handleRequest()
- public Button submit()
- public void getRoot()
- public void isRoot()
- public void createView()
- public integer count()
- public EmptyIterator getIterator()
Hierarchy
Extended by
Implements
Members
private
- $config — Symfony\Component\Form\FormConfigInterface
- $parent — Symfony\Component\Form\FormInterface
- $submitted — Symfony\Component\Form\Boolean
Methods
public
- __construct() — Creates a new button from a form configuration.
- add() — Unsupported method.
- addError() — Unsupported method.
- all() — {@inheritdoc}
- count() — Unsupported method.
- createView() — {@inheritdoc}
- get() — Unsupported method.
- getConfig() — Returns the button's configuration.
- getData() — Unsupported method.
- getErrors() — {@inheritdoc}
- getExtraData() — Unsupported method.
- getIterator() — Unsupported method.
- getName() — Returns the name by which the button is identified in forms.
- getNormData() — Unsupported method.
- getParent() — {@inheritdoc}
- getPropertyPath() — Unsupported method.
- getRoot() — {@inheritdoc}
- getViewData() — Unsupported method.
- handleRequest() — Unsupported method.
- has() — Unsupported method.
- initialize() — Unsupported method.
- isDisabled() — {@inheritdoc}
- isEmpty() — Unsupported method.
- isRequired() — Unsupported method.
- isRoot() — {@inheritdoc}
- isSubmitted() — Returns whether the button is submitted.
- isSynchronized() — Unsupported method.
- isValid() — Unsupported method.
- offsetExists() — Unsupported method.
- offsetGet() — Unsupported method.
- offsetSet() — Unsupported method.
- offsetUnset() — Unsupported method.
- remove() — Unsupported method.
- setData() — Unsupported method.
- setParent() — {@inheritdoc}
- submit() — Submits data to the button.