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.

QuestionGroupRoot class: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 17: Line 17:
}}
}}
=== <span style="color:#DF8621">'''Examples'''</span> ===
=== <span style="color:#DF8621">'''Examples'''</span> ===
<span style="color:#DF8621"> QuestionGroupRoot is returned when calling [[Questionnaire_getQuestionGroups]]</span>
<source lang="javascript">
<source lang="javascript">
number qnaireRId = 15644704;
number qnaireRId = 15644704;
QuestionGroupRoot root = Questionnaire_getQuestionGroups(qnaireRId);
QuestionGroupRoot root = Questionnaire_getQuestionGroups(qnaireRId);
</source>
</source>

Revision as of 03:57, 14 February 2019

QuestionGroupRoot



Information about question groups in questionnaire.


Methods

  • QuestionGroupTree FindByName(string name "Question group name") - Find a question group by name
  • QuestionGroupLeaf FindByQuestion(string label "Question label") - Find the question group that contains the given question
  • Array of QuestionGroupTree GetChildGroups() - Return all child groups.
  • Array of string GetPermutation() - Get a sequence of questions following the question group rules
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.

Examples

QuestionGroupRoot is returned when calling Questionnaire_getQuestionGroups

number qnaireRId = 15644704;
QuestionGroupRoot root = Questionnaire_getQuestionGroups(qnaireRId);