PHP Class Symfony\Component\Form\Extension\DataCollector\FormDataExtractor

Author: Bernhard Schussek ([email protected])
Inheritance: implements Symfony\Component\Form\Extension\DataCollector\FormDataExtractorInterface
Exibir arquivo Open project: symfony/symfony Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\DataCollector\Util\ValueExporter $valueExporter = null, $triggerDeprecationNotice = true ) Constructs a new data extractor.
extractConfiguration ( Symfony\Component\Form\FormInterface $form )
extractDefaultData ( Symfony\Component\Form\FormInterface $form )
extractSubmittedData ( Symfony\Component\Form\FormInterface $form )
extractViewVariables ( Symfony\Component\Form\FormView $view )

Private Methods

Method Description
buildId ( Symfony\Component\Form\FormInterface $form ) : string Recursively builds an HTML ID for a form.

Method Details

__construct() public method

Constructs a new data extractor.
public __construct ( Symfony\Component\HttpKernel\DataCollector\Util\ValueExporter $valueExporter = null, $triggerDeprecationNotice = true )
$valueExporter Symfony\Component\HttpKernel\DataCollector\Util\ValueExporter

extractConfiguration() public method

public extractConfiguration ( Symfony\Component\Form\FormInterface $form )
$form Symfony\Component\Form\FormInterface

extractDefaultData() public method

public extractDefaultData ( Symfony\Component\Form\FormInterface $form )
$form Symfony\Component\Form\FormInterface

extractSubmittedData() public method

public extractSubmittedData ( Symfony\Component\Form\FormInterface $form )
$form Symfony\Component\Form\FormInterface

extractViewVariables() public method

public extractViewVariables ( Symfony\Component\Form\FormView $view )
$view Symfony\Component\Form\FormView