Difference between revisions of "DCS newQuestionnaireQuickSetup"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:Data cache specification module = DCS_newQuestionnaireQuickSetup = Create a DCS base on relative questionnaires and they must have the same questionnaire template...")
 
Line 1: Line 1:
[[Category:Data cache specification module]]
+
<br>
  
 +
= DCS_newQuestionnaireQuickSetup  =
  
= DCS_newQuestionnaireQuickSetup =
+
Create a DCS base on relative questionnaires and they must have the same questionnaire template.
  
Create a DCS base on relative questionnaires and they must have the same questionnaire template.
+
=== Syntax  ===
  
=== Syntax ===
+
DCS_newQuestionnaireQuickSetup(DCSName, Questionnaires)
  
DCS_newQuestionnaireQuickSetup(DCSName, Questionnaires)
+
=== Arguments  ===
  
=== Arguments ===
+
DCSName: is a string. This is name of new DCS.
  
DCSName: is a string. This is name of new DCS.
+
Questionnaires: is an array which contain questionnaire resource id.  
Questionnaires: is an array which contain questionnaire resource id.
 
  
=== Return type ===
+
=== Return type ===
  
Empty
+
Empty  
  
=== Example ===
+
=== Example ===
  
 
string DCSName= "dcs of questionnaire 1 and questionnaire 2";
 
string DCSName= "dcs of questionnaire 1 and questionnaire 2";
array Qlist={37246024, 37278197};
 
DCS_newQuestionnaireQuickSetup(DCSName, Qlist);
 
  
 +
array Qlist={37246024, 37278197}; DCS_newQuestionnaireQuickSetup(DCSName, Qlist);
 +
 +
<br>__NOTOC__
  
__NOTOC__
+
[[Category:Data_cache_specification_module]]

Revision as of 08:41, 16 November 2011


DCS_newQuestionnaireQuickSetup

Create a DCS base on relative questionnaires and they must have the same questionnaire template.

Syntax

DCS_newQuestionnaireQuickSetup(DCSName, Questionnaires)

Arguments

DCSName: is a string. This is name of new DCS.

Questionnaires: is an array which contain questionnaire resource id.

Return type

Empty

Example

string DCSName= "dcs of questionnaire 1 and questionnaire 2";

array Qlist={37246024, 37278197}; DCS_newQuestionnaireQuickSetup(DCSName, Qlist);