The export interface
Exporting survey-data can be done for various sorts of output formats, this interface describes the methods needed to implement an output format
| package | Gems |
|---|---|
| subpackage | Export |
| copyright | Copyright (c) 2011 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.5 |
getDefaults() : array
arraygetFormElements(\type $form, \type $data) : array
\type
\type
arrayof \Zend_Form_ElementgetName() : string
It will be used for handling this export's specific options
stringhandleExport(array $data, \Gems_Tracker_Survey $survey, array $answers, \MUtil_Model_ModelAbstract $answerModel, string $language)
The method takes care of rendering the right script by using $this->export->controller to access the controller object.
arrayThe formdata
\Gems_Tracker_SurveyThe survey object we are exporting
arrayThe array of answers
\MUtil_Model_ModelAbstractThe modified answermodel that includes info about extra attributes
stringThe language used / to use for the export