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

Author: Robert Schönthal ([email protected])
Author: Bernhard Schussek ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector, implements Symfony\Component\Form\Extension\DataCollector\FormDataCollectorInterface
Afficher le fichier Open project: symfony/symfony Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Form\Extension\DataCollector\FormDataExtractorInterface $dataExtractor )
associateFormWithView ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormView $view )
buildFinalFormTree ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormView $view )
buildPreliminaryFormTree ( Symfony\Component\Form\FormInterface $form )
collect ( Request $request, Response $response, Exception $exception = null ) Does nothing. The data is collected during the form event listeners.
collectConfiguration ( Symfony\Component\Form\FormInterface $form )
collectDefaultData ( Symfony\Component\Form\FormInterface $form )
collectSubmittedData ( Symfony\Component\Form\FormInterface $form )
collectViewVariables ( Symfony\Component\Form\FormView $view )
getData ( )
getName ( )
serialize ( )

Méthodes protégées

Méthode Description
cloneVar ( $var, $isClass = false )

Private Methods

Méthode Description
recursiveBuildFinalFormTree ( Symfony\Component\Form\FormInterface $form = null, Symfony\Component\Form\FormView $view, array &$outputByHash )
recursiveBuildPreliminaryFormTree ( Symfony\Component\Form\FormInterface $form, array &$outputByHash )

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Form\Extension\DataCollector\FormDataExtractorInterface $dataExtractor )
$dataExtractor Symfony\Component\Form\Extension\DataCollector\FormDataExtractorInterface

associateFormWithView() public méthode

public associateFormWithView ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormView $view )
$form Symfony\Component\Form\FormInterface
$view Symfony\Component\Form\FormView

buildFinalFormTree() public méthode

public buildFinalFormTree ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Form\FormView $view )
$form Symfony\Component\Form\FormInterface
$view Symfony\Component\Form\FormView

buildPreliminaryFormTree() public méthode

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

cloneVar() protected méthode

protected cloneVar ( $var, $isClass = false )

collect() public méthode

Does nothing. The data is collected during the form event listeners.
public collect ( Request $request, Response $response, Exception $exception = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$exception Exception

collectConfiguration() public méthode

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

collectDefaultData() public méthode

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

collectSubmittedData() public méthode

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

collectViewVariables() public méthode

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

getData() public méthode

public getData ( )

getName() public méthode

public getName ( )

serialize() public méthode

public serialize ( )