mediatekformation

FormDataExtractor
in package
implements FormDataExtractorInterface

Default implementation of {@link FormDataExtractorInterface}.

Tags
author

Bernhard Schussek bschussek@gmail.com

Interfaces, Classes, Traits and Enums

FormDataExtractorInterface
Extracts arrays of information out of forms.

Table of Contents

extractConfiguration()  : array<string|int, mixed>
Extracts the configuration data of a form.
extractDefaultData()  : array<string|int, mixed>
Extracts the default data of a form.
extractSubmittedData()  : array<string|int, mixed>
Extracts the submitted data of a form.
extractViewVariables()  : array<string|int, mixed>
Extracts the view variables of a form.
buildId()  : string
Recursively builds an HTML ID for a form.

Methods

extractConfiguration()

Extracts the configuration data of a form.

public extractConfiguration(FormInterface $form) : array<string|int, mixed>
Parameters
$form : FormInterface
Return values
array<string|int, mixed>

Information about the form's configuration

extractDefaultData()

Extracts the default data of a form.

public extractDefaultData(FormInterface $form) : array<string|int, mixed>
Parameters
$form : FormInterface
Return values
array<string|int, mixed>

Information about the form's default data

extractSubmittedData()

Extracts the submitted data of a form.

public extractSubmittedData(FormInterface $form) : array<string|int, mixed>
Parameters
$form : FormInterface
Return values
array<string|int, mixed>

Information about the form's submitted data

extractViewVariables()

Extracts the view variables of a form.

public extractViewVariables(FormView $view) : array<string|int, mixed>
Parameters
$view : FormView
Return values
array<string|int, mixed>

Information about the view's variables

Search results