Beta version

class CustomFormHelper

Class CustomFormHelper

Constants

ARRAY_SEPARATOR

Methods

__construct(EntityManager $em, CustomForm $customForm)

CustomFormHelper constructor.

parseAnswerFormData(Form $form, CustomFormAnswer $answer = null, string $ipAddress = '')

Create or update custom-form answer and its attributes from a submitted form data.

FormInterface
getFormFromAnswer(FormFactory $formFactory, CustomFormAnswer $answer = null, bool $forceExpanded = false, array $options = array())

No description

Details

at line 62
__construct(EntityManager $em, CustomForm $customForm)

CustomFormHelper constructor.

Parameters

EntityManager $em
CustomForm $customForm

at line 77
CustomFormAnswer parseAnswerFormData(Form $form, CustomFormAnswer $answer = null, string $ipAddress = '')

Create or update custom-form answer and its attributes from a submitted form data.

Parameters

Form $form
CustomFormAnswer $answer
string $ipAddress

Return Value

CustomFormAnswer

at line 128
FormInterface getFormFromAnswer(FormFactory $formFactory, CustomFormAnswer $answer = null, bool $forceExpanded = false, array $options = array())

Parameters

FormFactory $formFactory
CustomFormAnswer $answer
bool $forceExpanded
array $options

Return Value

FormInterface