Methods
Create questionnaire properties form
init() : void
The posted form will contain:
- id
- title[default_language]: selected default language for the form
- title[en]: English title string
- title[..]: (repeated for all available languages)
- category_id
- active
- date_start: expected to be in format YYYY-MM-DD [HH:MM:SS]
- date_end: (as date_start)
- submit or cancel: depending on submit button
Check if the cancel button was submitted
isCancelled(array $values) : boolean
Parameters
$values
array
Returns
boolean
Check the questionnaire properties; specifically: make sure the end date
is after the start date
isValid(array $values) : boolean
Parameters
$values
array
Returns
boolean
Properties
$_messageTemplates : array
Constants
ERR_END_IS_BEFORE_START
ERR_END_IS_BEFORE_START