Save

package

Default

Methods

getSaveFormDatas

getSaveFormDatas( $iSurveyId)

Arguments

$iSurveyId

Launch the event SaveForm

launchSaveFormEvent( $surveyid, $state = 'show'): void

Arguments

$surveyid

$state

Clone of savesubmit() but returns datas for twig

saveSurvey()

This functions saves the answer time for question/group and whole survey.

set_answer_time(): void

[ It compares current time with the time in $_POST['start_time'] ] The times are saved in table: {prefix}{surveytable}_timings

Properties

:list of errors when try saving

aSaveErrors :array<mixed,string>
var

:list of errors when try saving

Type(s)

array<mixed,string>

: data when save try to submit save form

saveData :null|array<mixed,string>
var

: data when save try to submit save form

Type(s)

null|array<mixed,string>