Form class

package Webenq_Questionnaires_Collect
author Bart Huttinga <b.huttinga@nivocer.com>, Jaap-Andre de Hoop <j.dehoop@nivocer.com>

 Methods

Class constructor

__construct(\Doctrine_Collection $questions, \Webenq_Model_Respondent $respondent, array $options) 

Parameters

$questions

\Doctrine_Collection

$respondent

\Webenq_Model_Respondent

(optional) If provided the form elements are filled with the respondent's answers

$options

array

Retrieve a single element

getElement(string $name) : \Zend_Form_Element | null
todo make recursive

Parameters

$name

string

Returns

\Zend_Form_Elementnull

init()

init() 

 Properties

 

$_questions : \Doctrine_Collection
 

$_respondent : \Webenq_Model_Respondent