PHP Class Symfony\Component\Form\CollectionField

Author: Bernhard Schussek ([email protected])
Inheritance: extends FieldGroup
Datei anzeigen Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Property Type Description
$prototype Symfony\Component\Form\FieldInterface The prototype for the inner fields

Public Methods

Method Description
__construct ( Symfony\Component\Form\FieldInterface $innerField, array $options = [] ) Repeats the given field twice to verify the user's input
bind ( $taintedData )
setData ( $collection )

Protected Methods

Method Description
configure ( )
newField ( $key, $propertyPath )

Method Details

__construct() public method

Repeats the given field twice to verify the user's input
public __construct ( Symfony\Component\Form\FieldInterface $innerField, array $options = [] )
$innerField Symfony\Component\Form\FieldInterface
$options array

bind() public method

public bind ( $taintedData )

configure() protected method

protected configure ( )

newField() protected method

protected newField ( $key, $propertyPath )

setData() public method

public setData ( $collection )

Property Details

$prototype protected_oe property

The prototype for the inner fields
protected FieldInterface,Symfony\Component\Form $prototype
return Symfony\Component\Form\FieldInterface