Difference between revisions of "Questionnaire getQuestionnaireByResourceId"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
====Questionnaire_getQuestionnaireByResourceId====
 
====Questionnaire_getQuestionnaireByResourceId====
  
To get information of a questionnaire by resource id.
+
To get information of a questionnaire by resource id. (view the questionnaire object on Questionnaire_new)
  
 
'''Syntax'''
 
'''Syntax'''
Line 16: Line 16:
 
'''Return type'''
 
'''Return type'''
  
array
+
Array of questionnaire object see [[Questionnaire_new]]
  
 
'''Example'''
 
'''Example'''
  
 
array a= Questionnaire_getQuestionnaireByResourceId(34806989);
 
array a= Questionnaire_getQuestionnaireByResourceId(34806989);
 +
 +
print (a);
 +
 +
//{11,34806989,phong questionnaire 2,34409965,37246022,37257113,True,False,False,True,,36784747,,3,0,B2B CSN 01,{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,phong questionnaire 2}
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 10:54, 8 January 2019



Questionnaire_getQuestionnaireByResourceId

To get information of a questionnaire by resource id. (view the questionnaire object on Questionnaire_new)

Syntax

array Questionnaire_getQuestionnaireByResourceId (number questionnaireResourceId)

Arguments

questionnaireResourceId : resource id of questionnaire.

Return type

Array of questionnaire object see Questionnaire_new

Example

array a= Questionnaire_getQuestionnaireByResourceId(34806989);

print (a);

//{11,34806989,phong questionnaire 2,34409965,37246022,37257113,True,False,False,True,,36784747,,3,0,B2B CSN 01,{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,phong questionnaire 2}

Availability

Version 5.8