Controller class

package Webenq_Questionnaires_Manage
author Bart Huttinga

 Methods

Renders the form for adding an existing question to a questionnaire

addAction() 

addSubquestionAction()

addSubquestionAction() 

Renders the form for deleting a question from a questionnaire, or completely deleting it from the repository.

deleteAction() : void

Renders the form for editing a questionnaire and handle saving of form.

editAction() : void
todo clean function (splits?)

Saves the current state of the given questionnaire-question

saveStateAction() 

_getSubQuestions()

_getSubQuestions(\Webenq_Model_QuestionnaireQuestion $questionnaireQuestion) 

Parameters

$questionnaireQuestion

Stores the grid of subquestions to the database

_saveGridSubquestions(int $parentId, array $grid) : void

Parameters

$parentId

int

Parent questionnaire-question

$grid

array

Grid with sub-questionnaire-questions

 Properties

 

$ajaxable : array