Questionnaire getQuestionnairesByResourceId

From Catglobe Wiki
Revision as of 06:23, 29 November 2017 by Nguyenduyan (talk | contribs)
Jump to: navigation, search



Questionnaire_getQuestionnairesByResourceId

To get information of many questionnaires at the same time by their resource id

Syntax

Questionnaire_getQuestionnairesByResourceId (array questionnaireResourceId)

Arguments

questionnaireResourceId : array of resource id of questionnaires.

Return type

Dictionnary

Example

Questionnaire_getQuestionnairesByResourceId({15575932,15592000});

/* result
{
"15575932": {11,15575932,Panel,15575925,15575926,15575931,False,False,False,False,,15571205,,3,0,,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,,/questionnairemodule/editor/questionnairejseditor.aspx?id=2050&pq=$3574}, 
"15592000": {11,15592000,Panel,15575925,15591986,15591999,False,False,False,False,,15591981,,3,0,,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,,/questionnairemodule/editor/questionnairejseditor.aspx?id=2180&pq=$3721}
}*/