Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Question loadQuestionFromQuestionnaire function: Difference between revisions

From Catglobe Wiki
Created page with "{{CGscriptMethods_Template|ReturnType=Array of Question|Name=<nowiki>Question_loadQuestionFromQuestionnaire</nowiki>|Parameters= {{CGscriptParameters_Template|Type=int|Name=<n..."
 
Replaced content with "Question_class"
Tag: Replaced
Line 1: Line 1:
{{CGscriptMethods_Template|ReturnType=Array of Question|Name=<nowiki>Question_loadQuestionFromQuestionnaire</nowiki>|Parameters=
[[Question_class]]
{{CGscriptParameters_Template|Type=int|Name=<nowiki>questionnaireId</nowiki>|Description=<nowiki>Id of the questionnaire to load from. 0 to use context</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=<nowiki>questionLabel</nowiki>|Description=<nowiki>Label of the question to load</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=<nowiki>latestOnly</nowiki>|Description=<nowiki>If user has multiple qas, only include last created</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=<nowiki>completedOnly</nowiki>|Description=<nowiki>Limit by qas that is completed</nowiki>}}
|InClass=<nowiki>Question</nowiki>
|Description=<nowiki>Load all question from questionnaire</nowiki>}}
{{CGscriptMethods_Template|ReturnType=Array of Question|Name=<nowiki>Question_loadQuestionFromQuestionnaire</nowiki>|Parameters=
{{CGscriptParameters_Template|Type=int|Name=<nowiki>questionnaireId</nowiki>|Description=<nowiki>Id of the questionnaire to load from. 0 to use context</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=<nowiki>questionLabel</nowiki>|Description=<nowiki>Label of the question to load</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=<nowiki>latestOnly</nowiki>|Description=<nowiki>If user has multiple qas, only include last created</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=<nowiki>completedOnly</nowiki>|Description=<nowiki>Limit by qas that is completed</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=<nowiki>limitByQuestionnaireId</nowiki>|Description=<nowiki>Limit by users that participated in this questionnaire</nowiki>|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=<nowiki>limitByCompletedQuestionnaireId</nowiki>|Description=<nowiki>Limit by qas that is completed the limitByQuestionnaireId</nowiki>}}
|InClass=<nowiki>Question</nowiki>
|Description=<nowiki>Load all question from questionnaire</nowiki>}}

Revision as of 04:00, 15 May 2024