Method |
Description |
|
__clone ( ) |
|
|
__construct ( $name, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, array $types = [], array $clientTransformers = [], array $normTransformers = [], Symfony\Component\Form\DataMapperInterface $dataMapper = null, array $validators = [], $required = false, $readOnly = false, $errorBubbling = false, $emptyData = null, array $attributes = [] ) |
|
|
add ( Symfony\Component\Form\FormInterface $child ) : Form |
Adds a child to the form. |
|
addError ( FormError $error ) : Form |
Adds an error to this form. |
|
bind ( string | array $clientData ) : Form |
Binds data to the field, transforms and validates it. |
|
bindRequest ( Request $request ) : Form |
Binds a request to the form. |
|
count ( ) : integer |
Returns the number of form children (implements the \Countable interface). |
|
createView ( Symfony\Component\Form\FormView $parent = null ) : Symfony\Component\Form\FormView |
Creates a view. |
|
get ( string $name ) : Symfony\Component\Form\FormInterface |
Returns the child with the given name. |
|
getAttribute ( string $name ) |
Returns the value of the attributes with the given name. |
|
getChildren ( ) : array |
Returns all children in this group. |
|
getClientData ( ) : string |
Returns the data transformed by the value transformer. |
|
getClientTransformers ( ) : array |
Returns the DataTransformers. |
|
getData ( ) : mixed |
Returns the data in the format needed for the underlying object. |
|
getErrorBubbling ( ) : boolean |
Returns whether errors bubble up to the parent. |
|
getErrors ( ) : array |
Returns all errors. |
|
getExtraData ( ) : array |
Returns the extra data. |
|
getIterator ( ) : ArrayIterator |
Returns the iterator for this group. |
|
getName ( ) : string |
Returns the name by which the form is identified in forms. |
|
getNormData ( ) : mixed |
Returns the normalized data of the field. |
|
getNormTransformers ( ) : array |
Returns the DataTransformers. |
|
getParent ( ) : Symfony\Component\Form\FormInterface |
Returns the parent field. |
|
getRoot ( ) : Symfony\Component\Form\FormInterface |
Returns the root of the form tree. |
|
getTypes ( ) : array |
Returns the types used by this form. |
|
has ( string $name ) : boolean |
Returns whether a child with the given name exists. |
|
hasAttribute ( string $name ) |
Returns whether the form has an attribute with the given name. |
|
hasChildren ( ) : boolean |
Return whether the form has children. |
|
hasErrors ( ) : boolean |
Returns whether or not there are errors. |
|
hasParent ( ) : boolean |
Returns whether the form has a parent. |
|
isBound ( ) : boolean |
Returns whether the field is bound. |
|
isEmpty ( ) : boolean |
Returns whether the form is empty. |
|
isReadOnly ( ) : boolean |
Returns whether this form is read only. |
|
isRequired ( ) : boolean |
Returns whether the form is required to be filled out. |
|
isRoot ( ) : boolean |
Returns whether the field is the root of the form tree. |
|
isSynchronized ( ) : boolean |
Returns whether the data in the different formats is synchronized. |
|
isValid ( ) : boolean |
Returns whether the field is valid. |
|
offsetExists ( string $name ) : boolean |
Returns true if the child exists (implements the \ArrayAccess interface). |
|
offsetGet ( string $name ) : Symfony\Component\Form\FormInterface |
Returns the form child associated with the name (implements the \ArrayAccess interface). |
|
offsetSet ( string $name, Symfony\Component\Form\FormInterface $child ) |
Adds a child to the form (implements the \ArrayAccess interface). |
|
offsetUnset ( string $name ) |
Removes the child with the given name from the form (implements the \ArrayAccess interface). |
|
remove ( string $name ) : Form |
Removes a child from the form. |
|
setData ( array $appData ) : Form |
Updates the field with default data. |
|
setParent ( Symfony\Component\Form\FormInterface $parent = null ) : Form |
Sets the parent form. |
|