From f18a65e407245e19c7e60babd90f84a98ae80d4a Mon Sep 17 00:00:00 2001
From: Stella Lie If the distance is set to a fraction this will determine in which format the fractions will b
- e rendered on the Number Line. Select to display only:
-
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @return boolean $duplicate_responses \
- */
- public function get_duplicate_responses() {
+ * Get Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @return boolean $duplicate_responses \
+ */
+ public function get_duplicate_responses()
+ {
return $this->duplicate_responses;
}
/**
- * Set Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @param boolean $duplicate_responses \
- */
- public function set_duplicate_responses ($duplicate_responses) {
+ * Set Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @param boolean $duplicate_responses \
+ */
+ public function set_duplicate_responses($duplicate_responses)
+ {
$this->duplicate_responses = $duplicate_responses;
}
/**
- * Get Possible Responses \
- * Array of strings values that need to be dragged to the actual response position. \
- * @return array $possible_responses \
- */
- public function get_possible_responses() {
+ * Get Possible Responses \
+ * Array of strings values that need to be dragged to the actual response position. \
+ *
+ * @return array $possible_responses \
+ */
+ public function get_possible_responses()
+ {
return $this->possible_responses;
}
/**
- * Set Possible Responses \
- * Array of strings values that need to be dragged to the actual response position. \
- * @param array $possible_responses \
- */
- public function set_possible_responses (array $possible_responses) {
+ * Set Possible Responses \
+ * Array of strings values that need to be dragged to the actual response position. \
+ *
+ * @param array $possible_responses \
+ */
+ public function set_possible_responses(array $possible_responses)
+ {
$this->possible_responses = $possible_responses;
}
/**
- * Get Stimulus List \
- * An array of strings containing the values to be displayed for the question list. \
- * @return array $stimulus_list \
- */
- public function get_stimulus_list() {
+ * Get Stimulus List \
+ * An array of strings containing the values to be displayed for the question list. \
+ *
+ * @return array $stimulus_list \
+ */
+ public function get_stimulus_list()
+ {
return $this->stimulus_list;
}
/**
- * Set Stimulus List \
- * An array of strings containing the values to be displayed for the question list. \
- * @param array $stimulus_list \
- */
- public function set_stimulus_list (array $stimulus_list) {
+ * Set Stimulus List \
+ * An array of strings containing the values to be displayed for the question list. \
+ *
+ * @param array $stimulus_list \
+ */
+ public function set_stimulus_list(array $stimulus_list)
+ {
$this->stimulus_list = $stimulus_list;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/association_metadata.php b/src/Entities/QuestionTypes/association_metadata.php
index 905ec495..d9287037 100644
--- a/src/Entities/QuestionTypes/association_metadata.php
+++ b/src/Entities/QuestionTypes/association_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class association_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class association_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * Enter Distractor value for each response. \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * Enter Distractor value for each response. \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * Enter Distractor value for each response. \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * Enter Distractor value for each response. \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/association_ui_style.php b/src/Entities/QuestionTypes/association_ui_style.php
index 2fb50e79..f9900f4a 100644
--- a/src/Entities/QuestionTypes/association_ui_style.php
+++ b/src/Entities/QuestionTypes/association_ui_style.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class association_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class association_ui_style extends BaseQuestionTypeAttribute
+{
protected $possibility_list_position;
protected $fontsize;
protected $validation_stem_numeration;
protected $show_drag_handle;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @return string $possibility_list_position \
- */
- public function get_possibility_list_position() {
+ * Get Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @return string $possibility_list_position \
+ */
+ public function get_possibility_list_position()
+ {
return $this->possibility_list_position;
}
/**
- * Set Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @param string $possibility_list_position \
- */
- public function set_possibility_list_position ($possibility_list_position) {
+ * Set Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @param string $possibility_list_position \
+ */
+ public function set_possibility_list_position($possibility_list_position)
+ {
$this->possibility_list_position = $possibility_list_position;
}
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Drag handle \
- * \
- * @return boolean $show_drag_handle \
- */
- public function get_show_drag_handle() {
+ * Get Drag handle \
+ * \
+ *
+ * @return boolean $show_drag_handle \
+ */
+ public function get_show_drag_handle()
+ {
return $this->show_drag_handle;
}
/**
- * Set Drag handle \
- * \
- * @param boolean $show_drag_handle \
- */
- public function set_show_drag_handle ($show_drag_handle) {
+ * Set Drag handle \
+ * \
+ *
+ * @param boolean $show_drag_handle \
+ */
+ public function set_show_drag_handle($show_drag_handle)
+ {
$this->show_drag_handle = $show_drag_handle;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/association_validation.php b/src/Entities/QuestionTypes/association_validation.php
index cc445b3d..528c49d4 100644
--- a/src/Entities/QuestionTypes/association_validation.php
+++ b/src/Entities/QuestionTypes/association_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class association_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class association_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return association_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return association_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param association_validation_valid_response $valid_response \
- */
- public function set_valid_response (association_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param association_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(association_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/association_validation_alt_responses_item.php b/src/Entities/QuestionTypes/association_validation_alt_responses_item.php
index 97a905c8..41906a84 100644
--- a/src/Entities/QuestionTypes/association_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/association_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class association_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class association_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/association_validation_valid_response.php b/src/Entities/QuestionTypes/association_validation_valid_response.php
index 91d39877..a383ccc2 100644
--- a/src/Entities/QuestionTypes/association_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/association_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class association_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class association_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get value \
- * An array containing the valid responses for each item in the stimulus_list in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get value \
+ * An array containing the valid responses for each item in the stimulus_list in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set value \
- * An array containing the valid responses for each item in the stimulus_list in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set value \
+ * An array containing the valid responses for each item in the stimulus_list in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/audio.php b/src/Entities/QuestionTypes/audio.php
index 78422757..e4e8d4e8 100644
--- a/src/Entities/QuestionTypes/audio.php
+++ b/src/Entities/QuestionTypes/audio.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class audio extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class audio extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -22,267 +23,319 @@ class audio extends BaseQuestionType {
protected $recording_cue;
protected $show_download_link;
protected $silence_stop_duration;
-
+
public function __construct(
- $type
- )
- {
- $this->type = $type;
- }
+ $type
+ ) {
+ $this->type = $type;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return audio_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return audio_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param audio_metadata $metadata \
- */
- public function set_metadata (audio_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param audio_metadata $metadata \
+ */
+ public function set_metadata(audio_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return audio_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return audio_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param audio_ui_style $ui_style \
- */
- public function set_ui_style (audio_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param audio_ui_style $ui_style \
+ */
+ public function set_ui_style(audio_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @return audio_validation $validation \
- */
- public function get_validation() {
+ * Get Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @return audio_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @param audio_validation $validation \
- */
- public function set_validation (audio_validation $validation) {
+ * Set Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @param audio_validation $validation \
+ */
+ public function set_validation(audio_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Maximum Length (seconds) \
- * Number of seconds of audio allowed to be recorded. Maximum value is: 3600 (1 hour), default is 600 (10 minutes) \
- * @return number $max_length \
- */
- public function get_max_length() {
+ * Get Maximum Length (seconds) \
+ * Number of seconds of audio allowed to be recorded. Maximum value is: 3600 (1 hour), default is 600 (10 minutes) \
+ *
+ * @return number $max_length \
+ */
+ public function get_max_length()
+ {
return $this->max_length;
}
/**
- * Set Maximum Length (seconds) \
- * Number of seconds of audio allowed to be recorded. Maximum value is: 3600 (1 hour), default is 600 (10 minutes) \
- * @param number $max_length \
- */
- public function set_max_length ($max_length) {
+ * Set Maximum Length (seconds) \
+ * Number of seconds of audio allowed to be recorded. Maximum value is: 3600 (1 hour), default is 600 (10 minutes) \
+ *
+ * @param number $max_length \
+ */
+ public function set_max_length($max_length)
+ {
$this->max_length = $max_length;
}
/**
- * Get Overwrite warning \
- * Set to false to suppress the overwrite warning when user attempts to re-record. \
- * @return boolean $overwrite_warning \
- */
- public function get_overwrite_warning() {
+ * Get Overwrite warning \
+ * Set to false to suppress the overwrite warning when user attempts to re-record. \
+ *
+ * @return boolean $overwrite_warning \
+ */
+ public function get_overwrite_warning()
+ {
return $this->overwrite_warning;
}
/**
- * Set Overwrite warning \
- * Set to false to suppress the overwrite warning when user attempts to re-record. \
- * @param boolean $overwrite_warning \
- */
- public function set_overwrite_warning ($overwrite_warning) {
+ * Set Overwrite warning \
+ * Set to false to suppress the overwrite warning when user attempts to re-record. \
+ *
+ * @param boolean $overwrite_warning \
+ */
+ public function set_overwrite_warning($overwrite_warning)
+ {
$this->overwrite_warning = $overwrite_warning;
}
/**
- * Get Recording Cue \
- * Set to false if the beep is NOT to be played before recording is started. \
- * @return boolean $recording_cue \
- */
- public function get_recording_cue() {
+ * Get Recording Cue \
+ * Set to false if the beep is NOT to be played before recording is started. \
+ *
+ * @return boolean $recording_cue \
+ */
+ public function get_recording_cue()
+ {
return $this->recording_cue;
}
/**
- * Set Recording Cue \
- * Set to false if the beep is NOT to be played before recording is started. \
- * @param boolean $recording_cue \
- */
- public function set_recording_cue ($recording_cue) {
+ * Set Recording Cue \
+ * Set to false if the beep is NOT to be played before recording is started. \
+ *
+ * @param boolean $recording_cue \
+ */
+ public function set_recording_cue($recording_cue)
+ {
$this->recording_cue = $recording_cue;
}
/**
- * Get Show Download Link? \
- * If true, a link to download the audio response will appear in resume and review states. \
- * @return boolean $show_download_link \
- */
- public function get_show_download_link() {
+ * Get Show Download Link? \
+ * If true, a link to download the audio response will appear in resume and review states. \
+ *
+ * @return boolean $show_download_link \
+ */
+ public function get_show_download_link()
+ {
return $this->show_download_link;
}
/**
- * Set Show Download Link? \
- * If true, a link to download the audio response will appear in resume and review states. \
- * @param boolean $show_download_link \
- */
- public function set_show_download_link ($show_download_link) {
+ * Set Show Download Link? \
+ * If true, a link to download the audio response will appear in resume and review states. \
+ *
+ * @param boolean $show_download_link \
+ */
+ public function set_show_download_link($show_download_link)
+ {
$this->show_download_link = $show_download_link;
}
/**
- * Get Silence stop duration \
- * Duration of audio silence (in seconds) that is allowed before recording is stopped. This value is set to 0 by default, w
- hich means the silence detection is turned off. \
- * @return number $silence_stop_duration \
- */
- public function get_silence_stop_duration() {
+ * Get Silence stop duration \
+ * Duration of audio silence (in seconds) that is allowed before recording is stopped. This value is set to 0 by default, w
+ * hich means the silence detection is turned off. \
+ *
+ * @return number $silence_stop_duration \
+ */
+ public function get_silence_stop_duration()
+ {
return $this->silence_stop_duration;
}
/**
- * Set Silence stop duration \
- * Duration of audio silence (in seconds) that is allowed before recording is stopped. This value is set to 0 by default, w
- hich means the silence detection is turned off. \
- * @param number $silence_stop_duration \
- */
- public function set_silence_stop_duration ($silence_stop_duration) {
+ * Set Silence stop duration \
+ * Duration of audio silence (in seconds) that is allowed before recording is stopped. This value is set to 0 by default, w
+ * hich means the silence detection is turned off. \
+ *
+ * @param number $silence_stop_duration \
+ */
+ public function set_silence_stop_duration($silence_stop_duration)
+ {
$this->silence_stop_duration = $silence_stop_duration;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/audio_metadata.php b/src/Entities/QuestionTypes/audio_metadata.php
index 41242459..00d15a3d 100644
--- a/src/Entities/QuestionTypes/audio_metadata.php
+++ b/src/Entities/QuestionTypes/audio_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class audio_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class audio_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/audio_ui_style.php b/src/Entities/QuestionTypes/audio_ui_style.php
index 574b35af..af86fb1c 100644
--- a/src/Entities/QuestionTypes/audio_ui_style.php
+++ b/src/Entities/QuestionTypes/audio_ui_style.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class audio_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class audio_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $download_link;
protected $pause;
@@ -26,318 +27,385 @@ class audio_ui_style extends BaseQuestionTypeAttribute {
protected $volume_meter;
protected $waveform;
protected $responsive_layout;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Download link \
- * If true, a link to download the audio asset is displayed in the UI \
- * @return boolean $download_link \
- */
- public function get_download_link() {
+ * Get Download link \
+ * If true, a link to download the audio asset is displayed in the UI \
+ *
+ * @return boolean $download_link \
+ */
+ public function get_download_link()
+ {
return $this->download_link;
}
/**
- * Set Download link \
- * If true, a link to download the audio asset is displayed in the UI \
- * @param boolean $download_link \
- */
- public function set_download_link ($download_link) {
+ * Set Download link \
+ * If true, a link to download the audio asset is displayed in the UI \
+ *
+ * @param boolean $download_link \
+ */
+ public function set_download_link($download_link)
+ {
$this->download_link = $download_link;
}
/**
- * Get Pause \
- * Defines whether the pause button is displayed in the UI \
- * @return boolean $pause \
- */
- public function get_pause() {
+ * Get Pause \
+ * Defines whether the pause button is displayed in the UI \
+ *
+ * @return boolean $pause \
+ */
+ public function get_pause()
+ {
return $this->pause;
}
/**
- * Set Pause \
- * Defines whether the pause button is displayed in the UI \
- * @param boolean $pause \
- */
- public function set_pause ($pause) {
+ * Set Pause \
+ * Defines whether the pause button is displayed in the UI \
+ *
+ * @param boolean $pause \
+ */
+ public function set_pause($pause)
+ {
$this->pause = $pause;
}
/**
- * Get Pause recording \
- * Defines whether the pause recording button is enabled \
- * @return boolean $pause_recording \
- */
- public function get_pause_recording() {
+ * Get Pause recording \
+ * Defines whether the pause recording button is enabled \
+ *
+ * @return boolean $pause_recording \
+ */
+ public function get_pause_recording()
+ {
return $this->pause_recording;
}
/**
- * Set Pause recording \
- * Defines whether the pause recording button is enabled \
- * @param boolean $pause_recording \
- */
- public function set_pause_recording ($pause_recording) {
+ * Set Pause recording \
+ * Defines whether the pause recording button is enabled \
+ *
+ * @param boolean $pause_recording \
+ */
+ public function set_pause_recording($pause_recording)
+ {
$this->pause_recording = $pause_recording;
}
/**
- * Get Play \
- * Defines whether the play button is displayed in the UI \
- * @return boolean $play \
- */
- public function get_play() {
+ * Get Play \
+ * Defines whether the play button is displayed in the UI \
+ *
+ * @return boolean $play \
+ */
+ public function get_play()
+ {
return $this->play;
}
/**
- * Set Play \
- * Defines whether the play button is displayed in the UI \
- * @param boolean $play \
- */
- public function set_play ($play) {
+ * Set Play \
+ * Defines whether the play button is displayed in the UI \
+ *
+ * @param boolean $play \
+ */
+ public function set_play($play)
+ {
$this->play = $play;
}
/**
- * Get Play bubble \
- * Defines whether playback bubble is displayed in the UI, only available for 'button' type \
- * @return boolean $play_bubble \
- */
- public function get_play_bubble() {
+ * Get Play bubble \
+ * Defines whether playback bubble is displayed in the UI, only available for 'button' type \
+ *
+ * @return boolean $play_bubble \
+ */
+ public function get_play_bubble()
+ {
return $this->play_bubble;
}
/**
- * Set Play bubble \
- * Defines whether playback bubble is displayed in the UI, only available for 'button' type \
- * @param boolean $play_bubble \
- */
- public function set_play_bubble ($play_bubble) {
+ * Set Play bubble \
+ * Defines whether playback bubble is displayed in the UI, only available for 'button' type \
+ *
+ * @param boolean $play_bubble \
+ */
+ public function set_play_bubble($play_bubble)
+ {
$this->play_bubble = $play_bubble;
}
/**
- * Get Progress bar \
- * Defines whether the progress bar is displayed in the UI \
- * @return boolean $progress_bar \
- */
- public function get_progress_bar() {
+ * Get Progress bar \
+ * Defines whether the progress bar is displayed in the UI \
+ *
+ * @return boolean $progress_bar \
+ */
+ public function get_progress_bar()
+ {
return $this->progress_bar;
}
/**
- * Set Progress bar \
- * Defines whether the progress bar is displayed in the UI \
- * @param boolean $progress_bar \
- */
- public function set_progress_bar ($progress_bar) {
+ * Set Progress bar \
+ * Defines whether the progress bar is displayed in the UI \
+ *
+ * @param boolean $progress_bar \
+ */
+ public function set_progress_bar($progress_bar)
+ {
$this->progress_bar = $progress_bar;
}
/**
- * Get Record bubble \
- * Defines whether recording bubble is displayed in the UI, only available for 'button' type \
- * @return boolean $record_bubble \
- */
- public function get_record_bubble() {
+ * Get Record bubble \
+ * Defines whether recording bubble is displayed in the UI, only available for 'button' type \
+ *
+ * @return boolean $record_bubble \
+ */
+ public function get_record_bubble()
+ {
return $this->record_bubble;
}
/**
- * Set Record bubble \
- * Defines whether recording bubble is displayed in the UI, only available for 'button' type \
- * @param boolean $record_bubble \
- */
- public function set_record_bubble ($record_bubble) {
+ * Set Record bubble \
+ * Defines whether recording bubble is displayed in the UI, only available for 'button' type \
+ *
+ * @param boolean $record_bubble \
+ */
+ public function set_record_bubble($record_bubble)
+ {
$this->record_bubble = $record_bubble;
}
/**
- * Get Seek \
- * Defines whether the user can change the play position \
- * @return boolean $seek \
- */
- public function get_seek() {
+ * Get Seek \
+ * Defines whether the user can change the play position \
+ *
+ * @return boolean $seek \
+ */
+ public function get_seek()
+ {
return $this->seek;
}
/**
- * Set Seek \
- * Defines whether the user can change the play position \
- * @param boolean $seek \
- */
- public function set_seek ($seek) {
+ * Set Seek \
+ * Defines whether the user can change the play position \
+ *
+ * @param boolean $seek \
+ */
+ public function set_seek($seek)
+ {
$this->seek = $seek;
}
/**
- * Get Start recording \
- * Defines whether the start recording button is enabled \
- * @return boolean $start_recording \
- */
- public function get_start_recording() {
+ * Get Start recording \
+ * Defines whether the start recording button is enabled \
+ *
+ * @return boolean $start_recording \
+ */
+ public function get_start_recording()
+ {
return $this->start_recording;
}
/**
- * Set Start recording \
- * Defines whether the start recording button is enabled \
- * @param boolean $start_recording \
- */
- public function set_start_recording ($start_recording) {
+ * Set Start recording \
+ * Defines whether the start recording button is enabled \
+ *
+ * @param boolean $start_recording \
+ */
+ public function set_start_recording($start_recording)
+ {
$this->start_recording = $start_recording;
}
/**
- * Get Stop Recording \
- * Defines whether the pause recording button is enabled \
- * @return boolean $stop_recording \
- */
- public function get_stop_recording() {
+ * Get Stop Recording \
+ * Defines whether the pause recording button is enabled \
+ *
+ * @return boolean $stop_recording \
+ */
+ public function get_stop_recording()
+ {
return $this->stop_recording;
}
/**
- * Set Stop Recording \
- * Defines whether the pause recording button is enabled \
- * @param boolean $stop_recording \
- */
- public function set_stop_recording ($stop_recording) {
+ * Set Stop Recording \
+ * Defines whether the pause recording button is enabled \
+ *
+ * @param boolean $stop_recording \
+ */
+ public function set_stop_recording($stop_recording)
+ {
$this->stop_recording = $stop_recording;
}
/**
- * Get Timer \
- * Defines whether the timer is displayed in the UI \
- * @return boolean $timer \
- */
- public function get_timer() {
+ * Get Timer \
+ * Defines whether the timer is displayed in the UI \
+ *
+ * @return boolean $timer \
+ */
+ public function get_timer()
+ {
return $this->timer;
}
/**
- * Set Timer \
- * Defines whether the timer is displayed in the UI \
- * @param boolean $timer \
- */
- public function set_timer ($timer) {
+ * Set Timer \
+ * Defines whether the timer is displayed in the UI \
+ *
+ * @param boolean $timer \
+ */
+ public function set_timer($timer)
+ {
$this->timer = $timer;
}
/**
- * Get Layout \
- * Defines the rendering type of audio question. Values: "block", "button". \
- * @return string $type \
- */
- public function get_type() {
+ * Get Layout \
+ * Defines the rendering type of audio question. Values: "block", "button". \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Layout \
- * Defines the rendering type of audio question. Values: "block", "button". \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Layout \
+ * Defines the rendering type of audio question. Values: "block", "button". \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Volume Control \
- * Defines whether the volume control is displayed in the UI \
- * @return boolean $volume_control \
- */
- public function get_volume_control() {
+ * Get Volume Control \
+ * Defines whether the volume control is displayed in the UI \
+ *
+ * @return boolean $volume_control \
+ */
+ public function get_volume_control()
+ {
return $this->volume_control;
}
/**
- * Set Volume Control \
- * Defines whether the volume control is displayed in the UI \
- * @param boolean $volume_control \
- */
- public function set_volume_control ($volume_control) {
+ * Set Volume Control \
+ * Defines whether the volume control is displayed in the UI \
+ *
+ * @param boolean $volume_control \
+ */
+ public function set_volume_control($volume_control)
+ {
$this->volume_control = $volume_control;
}
/**
- * Get Volume Meter \
- * Defines whether the volume meter is displayed in the UI \
- * @return boolean $volume_meter \
- */
- public function get_volume_meter() {
+ * Get Volume Meter \
+ * Defines whether the volume meter is displayed in the UI \
+ *
+ * @return boolean $volume_meter \
+ */
+ public function get_volume_meter()
+ {
return $this->volume_meter;
}
/**
- * Set Volume Meter \
- * Defines whether the volume meter is displayed in the UI \
- * @param boolean $volume_meter \
- */
- public function set_volume_meter ($volume_meter) {
+ * Set Volume Meter \
+ * Defines whether the volume meter is displayed in the UI \
+ *
+ * @param boolean $volume_meter \
+ */
+ public function set_volume_meter($volume_meter)
+ {
$this->volume_meter = $volume_meter;
}
/**
- * Get Waveform \
- * Defines whether the waveform is displayed in the UI \
- * @return boolean $waveform \
- */
- public function get_waveform() {
+ * Get Waveform \
+ * Defines whether the waveform is displayed in the UI \
+ *
+ * @return boolean $waveform \
+ */
+ public function get_waveform()
+ {
return $this->waveform;
}
/**
- * Set Waveform \
- * Defines whether the waveform is displayed in the UI \
- * @param boolean $waveform \
- */
- public function set_waveform ($waveform) {
+ * Set Waveform \
+ * Defines whether the waveform is displayed in the UI \
+ *
+ * @param boolean $waveform \
+ */
+ public function set_waveform($waveform)
+ {
$this->waveform = $waveform;
}
/**
- * Get Responsive Layout \
- * Defines whether the feature item size can be scaled responsively \
- * @return boolean $responsive_layout \
- */
- public function get_responsive_layout() {
+ * Get Responsive Layout \
+ * Defines whether the feature item size can be scaled responsively \
+ *
+ * @return boolean $responsive_layout \
+ */
+ public function get_responsive_layout()
+ {
return $this->responsive_layout;
}
/**
- * Set Responsive Layout \
- * Defines whether the feature item size can be scaled responsively \
- * @param boolean $responsive_layout \
- */
- public function set_responsive_layout ($responsive_layout) {
+ * Set Responsive Layout \
+ * Defines whether the feature item size can be scaled responsively \
+ *
+ * @param boolean $responsive_layout \
+ */
+ public function set_responsive_layout($responsive_layout)
+ {
$this->responsive_layout = $responsive_layout;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/audio_validation.php b/src/Entities/QuestionTypes/audio_validation.php
index 4093cb4e..e15c715c 100644
--- a/src/Entities/QuestionTypes/audio_validation.php
+++ b/src/Entities/QuestionTypes/audio_validation.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class audio_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class audio_validation extends BaseQuestionTypeAttribute
+{
protected $max_score;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Max Score \
- * The highest score a marker can award to this question response. \
- * @return number $max_score \
- */
- public function get_max_score() {
+ * Get Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @return number $max_score \
+ */
+ public function get_max_score()
+ {
return $this->max_score;
}
/**
- * Set Max Score \
- * The highest score a marker can award to this question response. \
- * @param number $max_score \
- */
- public function set_max_score ($max_score) {
+ * Set Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @param number $max_score \
+ */
+ public function set_max_score($max_score)
+ {
$this->max_score = $max_score;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/audioplayer.php b/src/Entities/QuestionTypes/audioplayer.php
index a17b3add..ebbb7ba9 100644
--- a/src/Entities/QuestionTypes/audioplayer.php
+++ b/src/Entities/QuestionTypes/audioplayer.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class audioplayer extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class audioplayer extends BaseQuestionType
+{
protected $type;
protected $metadata;
protected $src;
@@ -16,149 +17,177 @@ class audioplayer extends BaseQuestionType {
protected $playback_limit;
protected $waveform;
protected $format;
-
+
public function __construct(
- $type,
- $src
- )
- {
- $this->type = $type;
- $this->src = $src;
- }
+ $type,
+ $src
+ ) {
+ $this->type = $type;
+ $this->src = $src;
+ }
/**
- * Get Feature Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Feature Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Feature Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Feature Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get metadata \
- * \
- * @return object $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return object $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param object $metadata \
- */
- public function set_metadata ($metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param object $metadata \
+ */
+ public function set_metadata($metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Source URL \
- * Embed an audio clip as an additional feature to the current content. You can use your own audio or audio hosted on the I
- nternet. \
- * @return string $src \
- */
- public function get_src() {
+ * Get Source URL \
+ * Embed an audio clip as an additional feature to the current content. You can use your own audio or audio hosted on the I
+ * nternet. \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Source URL \
- * Embed an audio clip as an additional feature to the current content. You can use your own audio or audio hosted on the I
- nternet. \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Source URL \
+ * Embed an audio clip as an additional feature to the current content. You can use your own audio or audio hosted on the I
+ * nternet. \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get Player type \
- * Specify the type of audio player between the options: block, button, minimal, bar. \
- * @return string $player \
- */
- public function get_player() {
+ * Get Player type \
+ * Specify the type of audio player between the options: block, button, minimal, bar. \
+ *
+ * @return string $player \
+ */
+ public function get_player()
+ {
return $this->player;
}
/**
- * Set Player type \
- * Specify the type of audio player between the options: block, button, minimal, bar. \
- * @param string $player \
- */
- public function set_player ($player) {
+ * Set Player type \
+ * Specify the type of audio player between the options: block, button, minimal, bar. \
+ *
+ * @param string $player \
+ */
+ public function set_player($player)
+ {
$this->player = $player;
}
/**
- * Get Playback Limit \
- * Number of play attempts the user has, with 0 being unlimited. \
- * @return number $playback_limit \
- */
- public function get_playback_limit() {
+ * Get Playback Limit \
+ * Number of play attempts the user has, with 0 being unlimited. \
+ *
+ * @return number $playback_limit \
+ */
+ public function get_playback_limit()
+ {
return $this->playback_limit;
}
/**
- * Set Playback Limit \
- * Number of play attempts the user has, with 0 being unlimited. \
- * @param number $playback_limit \
- */
- public function set_playback_limit ($playback_limit) {
+ * Set Playback Limit \
+ * Number of play attempts the user has, with 0 being unlimited. \
+ *
+ * @param number $playback_limit \
+ */
+ public function set_playback_limit($playback_limit)
+ {
$this->playback_limit = $playback_limit;
}
/**
- * Get Waveform URI \
- * URI of the waveform to display. \
- * @return string $waveform \
- */
- public function get_waveform() {
+ * Get Waveform URI \
+ * URI of the waveform to display. \
+ *
+ * @return string $waveform \
+ */
+ public function get_waveform()
+ {
return $this->waveform;
}
/**
- * Set Waveform URI \
- * URI of the waveform to display. \
- * @param string $waveform \
- */
- public function set_waveform ($waveform) {
+ * Set Waveform URI \
+ * URI of the waveform to display. \
+ *
+ * @param string $waveform \
+ */
+ public function set_waveform($waveform)
+ {
$this->waveform = $waveform;
}
/**
- * Get Format \
- * Allows specifying the audio format instead of relying on the file extension on src.
If format i
- s not defined and src does not have a file extension, the format is assumed to be "mp3". \
- * @return string $format \
- */
- public function get_format() {
+ * Get Format \
+ * Allows specifying the audio format instead of relying on the file extension on src.
If format i
+ * s not defined and src does not have a file extension, the format is assumed to be "mp3". \
+ *
+ * @return string $format \
+ */
+ public function get_format()
+ {
return $this->format;
}
/**
- * Set Format \
- * Allows specifying the audio format instead of relying on the file extension on src.
If format i
- s not defined and src does not have a file extension, the format is assumed to be "mp3". \
- * @param string $format \
- */
- public function set_format ($format) {
+ * Set Format \
+ * Allows specifying the audio format instead of relying on the file extension on src.
If format i
+ * s not defined and src does not have a file extension, the format is assumed to be "mp3". \
+ *
+ * @param string $format \
+ */
+ public function set_format($format)
+ {
$this->format = $format;
}
-
- public function get_widget_type() {
- return 'feature';
+
+ public function get_widget_type()
+ {
+ return 'feature';
}
}
diff --git a/src/Entities/QuestionTypes/calculator.php b/src/Entities/QuestionTypes/calculator.php
index 594b74d6..1530c44f 100644
--- a/src/Entities/QuestionTypes/calculator.php
+++ b/src/Entities/QuestionTypes/calculator.php
@@ -5,80 +5,93 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class calculator extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class calculator extends BaseQuestionType
+{
protected $type;
protected $metadata;
protected $mode;
-
+
public function __construct(
- $type,
- $mode
- )
- {
- $this->type = $type;
- $this->mode = $mode;
- }
+ $type,
+ $mode
+ ) {
+ $this->type = $type;
+ $this->mode = $mode;
+ }
/**
- * Get Feature Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Feature Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Feature Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Feature Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get metadata \
- * \
- * @return object $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return object $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param object $metadata \
- */
- public function set_metadata ($metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param object $metadata \
+ */
+ public function set_metadata($metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Mode \
- * Mode of calculator to render. Values: basic, scientific \
- * @return string $mode \
- */
- public function get_mode() {
+ * Get Mode \
+ * Mode of calculator to render. Values: basic, scientific \
+ *
+ * @return string $mode \
+ */
+ public function get_mode()
+ {
return $this->mode;
}
/**
- * Set Mode \
- * Mode of calculator to render. Values: basic, scientific \
- * @param string $mode \
- */
- public function set_mode ($mode) {
+ * Set Mode \
+ * Mode of calculator to render. Values: basic, scientific \
+ *
+ * @param string $mode \
+ */
+ public function set_mode($mode)
+ {
$this->mode = $mode;
}
-
- public function get_widget_type() {
- return 'feature';
+
+ public function get_widget_type()
+ {
+ return 'feature';
}
}
diff --git a/src/Entities/QuestionTypes/chemistry.php b/src/Entities/QuestionTypes/chemistry.php
index e58283ba..b70ad181 100644
--- a/src/Entities/QuestionTypes/chemistry.php
+++ b/src/Entities/QuestionTypes/chemistry.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -26,339 +27,407 @@ class chemistry extends BaseQuestionType {
protected $symbols;
protected $response_container;
protected $response_containers;
-
+
public function __construct(
- $type,
- chemistry_ui_style $ui_style
- )
- {
- $this->type = $type;
- $this->ui_style = $ui_style;
- }
+ $type,
+ chemistry_ui_style $ui_style
+ ) {
+ $this->type = $type;
+ $this->ui_style = $ui_style;
+ }
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return chemistry_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return chemistry_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param chemistry_metadata $metadata \
- */
- public function set_metadata (chemistry_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param chemistry_metadata $metadata \
+ */
+ public function set_metadata(chemistry_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return chemistry_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return chemistry_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param chemistry_ui_style $ui_style \
- */
- public function set_ui_style (chemistry_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param chemistry_ui_style $ui_style \
+ */
+ public function set_ui_style(chemistry_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return chemistry_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return chemistry_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param chemistry_validation $validation \
- */
- public function set_validation (chemistry_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param chemistry_validation $validation \
+ */
+ public function set_validation(chemistry_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @return string $template \
- */
- public function get_template() {
+ * Get Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return chemistry_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return chemistry_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param chemistry_response_container $response_container \
- */
- public function set_response_container (chemistry_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param chemistry_response_container $response_container \
+ */
+ public function set_response_container(chemistry_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/chemistry_metadata.php b/src/Entities/QuestionTypes/chemistry_metadata.php
index de52754d..bf0d21b4 100644
--- a/src/Entities/QuestionTypes/chemistry_metadata.php
+++ b/src/Entities/QuestionTypes/chemistry_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_response_container.php b/src/Entities/QuestionTypes/chemistry_response_container.php
index 23e76d70..59d4a31e 100644
--- a/src/Entities/QuestionTypes/chemistry_response_container.php
+++ b/src/Entities/QuestionTypes/chemistry_response_container.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_response_containers_item.php b/src/Entities/QuestionTypes/chemistry_response_containers_item.php
index e8eb9055..af7ef8a6 100644
--- a/src/Entities/QuestionTypes/chemistry_response_containers_item.php
+++ b/src/Entities/QuestionTypes/chemistry_response_containers_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_ui_style.php b/src/Entities/QuestionTypes/chemistry_ui_style.php
index 27f8fea6..b50fea68 100644
--- a/src/Entities/QuestionTypes/chemistry_ui_style.php
+++ b/src/Entities/QuestionTypes/chemistry_ui_style.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $transparent_background;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Transparent background \
- * Determines whether the area housing nested response areas should be transparent \
- * @return boolean $transparent_background \
- */
- public function get_transparent_background() {
+ * Get Transparent background \
+ * Determines whether the area housing nested response areas should be transparent \
+ *
+ * @return boolean $transparent_background \
+ */
+ public function get_transparent_background()
+ {
return $this->transparent_background;
}
/**
- * Set Transparent background \
- * Determines whether the area housing nested response areas should be transparent \
- * @param boolean $transparent_background \
- */
- public function set_transparent_background ($transparent_background) {
+ * Set Transparent background \
+ * Determines whether the area housing nested response areas should be transparent \
+ *
+ * @param boolean $transparent_background \
+ */
+ public function set_transparent_background($transparent_background)
+ {
$this->transparent_background = $transparent_background;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_validation.php b/src/Entities/QuestionTypes/chemistry_validation.php
index 6d65f15c..7480917b 100644
--- a/src/Entities/QuestionTypes/chemistry_validation.php
+++ b/src/Entities/QuestionTypes/chemistry_validation.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return chemistry_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return chemistry_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param chemistry_validation_valid_response $valid_response \
- */
- public function set_valid_response (chemistry_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param chemistry_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(chemistry_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item.php b/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item.php
index 7ee9604f..20c48d90 100644
--- a/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item_value_item.php b/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item_value_item.php
index eeb81a98..d7837597 100644
--- a/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item_value_item.php
+++ b/src/Entities/QuestionTypes/chemistry_validation_alt_responses_item_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_validation_valid_response.php b/src/Entities/QuestionTypes/chemistry_validation_valid_response.php
index 50ac5a9e..5ab0c773 100644
--- a/src/Entities/QuestionTypes/chemistry_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/chemistry_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistry_validation_valid_response_value_item.php b/src/Entities/QuestionTypes/chemistry_validation_valid_response_value_item.php
index 92bb22c0..47684161 100644
--- a/src/Entities/QuestionTypes/chemistry_validation_valid_response_value_item.php
+++ b/src/Entities/QuestionTypes/chemistry_validation_valid_response_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistry_validation_valid_response_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistry_validation_valid_response_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivLiteral, equivValue, isUnit, stringMatch \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistryessay.php b/src/Entities/QuestionTypes/chemistryessay.php
index e8e87945..95991eb7 100644
--- a/src/Entities/QuestionTypes/chemistryessay.php
+++ b/src/Entities/QuestionTypes/chemistryessay.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistryessay extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistryessay extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -21,245 +22,293 @@ class chemistryessay extends BaseQuestionType {
protected $showHints;
protected $numberPad;
protected $symbols;
-
+
public function __construct(
- $type,
- chemistryessay_ui_style $ui_style
- )
- {
- $this->type = $type;
- $this->ui_style = $ui_style;
- }
+ $type,
+ chemistryessay_ui_style $ui_style
+ ) {
+ $this->type = $type;
+ $this->ui_style = $ui_style;
+ }
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return chemistryessay_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return chemistryessay_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param chemistryessay_metadata $metadata \
- */
- public function set_metadata (chemistryessay_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param chemistryessay_metadata $metadata \
+ */
+ public function set_metadata(chemistryessay_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return chemistryessay_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return chemistryessay_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param chemistryessay_ui_style $ui_style \
- */
- public function set_ui_style (chemistryessay_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param chemistryessay_ui_style $ui_style \
+ */
+ public function set_ui_style(chemistryessay_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @return chemistryessay_validation $validation \
- */
- public function get_validation() {
+ * Get Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @return chemistryessay_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @param chemistryessay_validation $validation \
- */
- public function set_validation (chemistryessay_validation $validation) {
+ * Set Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @param chemistryessay_validation $validation \
+ */
+ public function set_validation(chemistryessay_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/chemistryessay_metadata.php b/src/Entities/QuestionTypes/chemistryessay_metadata.php
index 8a95817d..fcc5e732 100644
--- a/src/Entities/QuestionTypes/chemistryessay_metadata.php
+++ b/src/Entities/QuestionTypes/chemistryessay_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistryessay_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistryessay_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistryessay_ui_style.php b/src/Entities/QuestionTypes/chemistryessay_ui_style.php
index 95f549ee..812c1149 100644
--- a/src/Entities/QuestionTypes/chemistryessay_ui_style.php
+++ b/src/Entities/QuestionTypes/chemistryessay_ui_style.php
@@ -5,132 +5,156 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistryessay_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistryessay_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $response_font_scale;
protected $default_mode;
protected $max_lines;
protected $text_formatting_options;
protected $keyboard_below_response_area;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Default mode \
- * The default mode of the first line when question is first focused \
- * @return string $default_mode \
- */
- public function get_default_mode() {
+ * Get Default mode \
+ * The default mode of the first line when question is first focused \
+ *
+ * @return string $default_mode \
+ */
+ public function get_default_mode()
+ {
return $this->default_mode;
}
/**
- * Set Default mode \
- * The default mode of the first line when question is first focused \
- * @param string $default_mode \
- */
- public function set_default_mode ($default_mode) {
+ * Set Default mode \
+ * The default mode of the first line when question is first focused \
+ *
+ * @param string $default_mode \
+ */
+ public function set_default_mode($default_mode)
+ {
$this->default_mode = $default_mode;
}
/**
- * Get Maximum lines \
- * Limits the number of lines of text / math that can be entered. \
- * @return number $max_lines \
- */
- public function get_max_lines() {
+ * Get Maximum lines \
+ * Limits the number of lines of text / math that can be entered. \
+ *
+ * @return number $max_lines \
+ */
+ public function get_max_lines()
+ {
return $this->max_lines;
}
/**
- * Set Maximum lines \
- * Limits the number of lines of text / math that can be entered. \
- * @param number $max_lines \
- */
- public function set_max_lines ($max_lines) {
+ * Set Maximum lines \
+ * Limits the number of lines of text / math that can be entered. \
+ *
+ * @param number $max_lines \
+ */
+ public function set_max_lines($max_lines)
+ {
$this->max_lines = $max_lines;
}
/**
- * Get Text Formatting Options \
- * An array containing strings of text formatting options to make available. \
- * @return array $text_formatting_options \
- */
- public function get_text_formatting_options() {
+ * Get Text Formatting Options \
+ * An array containing strings of text formatting options to make available. \
+ *
+ * @return array $text_formatting_options \
+ */
+ public function get_text_formatting_options()
+ {
return $this->text_formatting_options;
}
/**
- * Set Text Formatting Options \
- * An array containing strings of text formatting options to make available. \
- * @param array $text_formatting_options \
- */
- public function set_text_formatting_options (array $text_formatting_options) {
+ * Set Text Formatting Options \
+ * An array containing strings of text formatting options to make available. \
+ *
+ * @param array $text_formatting_options \
+ */
+ public function set_text_formatting_options(array $text_formatting_options)
+ {
$this->text_formatting_options = $text_formatting_options;
}
/**
- * Get Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @return boolean $keyboard_below_response_area \
- */
- public function get_keyboard_below_response_area() {
+ * Get Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @return boolean $keyboard_below_response_area \
+ */
+ public function get_keyboard_below_response_area()
+ {
return $this->keyboard_below_response_area;
}
/**
- * Set Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @param boolean $keyboard_below_response_area \
- */
- public function set_keyboard_below_response_area ($keyboard_below_response_area) {
+ * Set Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @param boolean $keyboard_below_response_area \
+ */
+ public function set_keyboard_below_response_area($keyboard_below_response_area)
+ {
$this->keyboard_below_response_area = $keyboard_below_response_area;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/chemistryessay_validation.php b/src/Entities/QuestionTypes/chemistryessay_validation.php
index 54c9e63d..bd01c0c1 100644
--- a/src/Entities/QuestionTypes/chemistryessay_validation.php
+++ b/src/Entities/QuestionTypes/chemistryessay_validation.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class chemistryessay_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class chemistryessay_validation extends BaseQuestionTypeAttribute
+{
protected $max_score;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Max Score \
- * The highest score a marker can award to this question response. \
- * @return number $max_score \
- */
- public function get_max_score() {
+ * Get Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @return number $max_score \
+ */
+ public function get_max_score()
+ {
return $this->max_score;
}
/**
- * Set Max Score \
- * The highest score a marker can award to this question response. \
- * @param number $max_score \
- */
- public function set_max_score ($max_score) {
+ * Set Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @param number $max_score \
+ */
+ public function set_max_score($max_score)
+ {
$this->max_score = $max_score;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/choicematrix.php b/src/Entities/QuestionTypes/choicematrix.php
index c31690ec..b06217b0 100644
--- a/src/Entities/QuestionTypes/choicematrix.php
+++ b/src/Entities/QuestionTypes/choicematrix.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class choicematrix extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class choicematrix extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -21,247 +22,295 @@ class choicematrix extends BaseQuestionType {
protected $options;
protected $multiple_responses;
protected $stems;
-
+
public function __construct(
- $type,
- array $options,
- array $stems
- )
- {
- $this->type = $type;
- $this->options = $options;
- $this->stems = $stems;
- }
+ $type,
+ array $options,
+ array $stems
+ ) {
+ $this->type = $type;
+ $this->options = $options;
+ $this->stems = $stems;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return choicematrix_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return choicematrix_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param choicematrix_metadata $metadata \
- */
- public function set_metadata (choicematrix_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param choicematrix_metadata $metadata \
+ */
+ public function set_metadata(choicematrix_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return choicematrix_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return choicematrix_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param choicematrix_ui_style $ui_style \
- */
- public function set_ui_style (choicematrix_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param choicematrix_ui_style $ui_style \
+ */
+ public function set_ui_style(choicematrix_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return choicematrix_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return choicematrix_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param choicematrix_validation $validation \
- */
- public function set_validation (choicematrix_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param choicematrix_validation $validation \
+ */
+ public function set_validation(choicematrix_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Options \
- * Array of strings values presenting choice matrix options, for example, ['Yes', 'No']. \
- * @return array $options \
- */
- public function get_options() {
+ * Get Options \
+ * Array of strings values presenting choice matrix options, for example, ['Yes', 'No']. \
+ *
+ * @return array $options \
+ */
+ public function get_options()
+ {
return $this->options;
}
/**
- * Set Options \
- * Array of strings values presenting choice matrix options, for example, ['Yes', 'No']. \
- * @param array $options \
- */
- public function set_options (array $options) {
+ * Set Options \
+ * Array of strings values presenting choice matrix options, for example, ['Yes', 'No']. \
+ *
+ * @param array $options \
+ */
+ public function set_options(array $options)
+ {
$this->options = $options;
}
/**
- * Get Multiple responses \
- * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
- * @return boolean $multiple_responses \
- */
- public function get_multiple_responses() {
+ * Get Multiple responses \
+ * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
+ *
+ * @return boolean $multiple_responses \
+ */
+ public function get_multiple_responses()
+ {
return $this->multiple_responses;
}
/**
- * Set Multiple responses \
- * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
- * @param boolean $multiple_responses \
- */
- public function set_multiple_responses ($multiple_responses) {
+ * Set Multiple responses \
+ * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
+ *
+ * @param boolean $multiple_responses \
+ */
+ public function set_multiple_responses($multiple_responses)
+ {
$this->multiple_responses = $multiple_responses;
}
/**
- * Get Stems \
- * Array of strings value presenting each row of question stem. \
- * @return array $stems \
- */
- public function get_stems() {
+ * Get Stems \
+ * Array of strings value presenting each row of question stem. \
+ *
+ * @return array $stems \
+ */
+ public function get_stems()
+ {
return $this->stems;
}
/**
- * Set Stems \
- * Array of strings value presenting each row of question stem. \
- * @param array $stems \
- */
- public function set_stems (array $stems) {
+ * Set Stems \
+ * Array of strings value presenting each row of question stem. \
+ *
+ * @param array $stems \
+ */
+ public function set_stems(array $stems)
+ {
$this->stems = $stems;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/choicematrix_metadata.php b/src/Entities/QuestionTypes/choicematrix_metadata.php
index 28c191af..5eccfc79 100644
--- a/src/Entities/QuestionTypes/choicematrix_metadata.php
+++ b/src/Entities/QuestionTypes/choicematrix_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class choicematrix_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class choicematrix_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/choicematrix_ui_style.php b/src/Entities/QuestionTypes/choicematrix_ui_style.php
index 0ab0d97e..c3994a16 100644
--- a/src/Entities/QuestionTypes/choicematrix_ui_style.php
+++ b/src/Entities/QuestionTypes/choicematrix_ui_style.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class choicematrix_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class choicematrix_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $type;
protected $stem_width;
@@ -17,158 +18,189 @@ class choicematrix_ui_style extends BaseQuestionTypeAttribute {
protected $option_row_title;
protected $horizontal_lines;
protected $stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Layout \
- * \
- * @return string $type ie. table, inline \
- */
- public function get_type() {
+ * Get Layout \
+ * \
+ *
+ * @return string $type ie. table, inline \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Layout \
- * \
- * @param string $type ie. table, inline \
- */
- public function set_type ($type) {
+ * Set Layout \
+ * \
+ *
+ * @param string $type ie. table, inline \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Stem Width \
- * The width of the stem column \
- * @return string $stem_width \
- */
- public function get_stem_width() {
+ * Get Stem Width \
+ * The width of the stem column \
+ *
+ * @return string $stem_width \
+ */
+ public function get_stem_width()
+ {
return $this->stem_width;
}
/**
- * Set Stem Width \
- * The width of the stem column \
- * @param string $stem_width \
- */
- public function set_stem_width ($stem_width) {
+ * Set Stem Width \
+ * The width of the stem column \
+ *
+ * @param string $stem_width \
+ */
+ public function set_stem_width($stem_width)
+ {
$this->stem_width = $stem_width;
}
/**
- * Get Option Width \
- * The width of each option column \
- * @return string $option_width \
- */
- public function get_option_width() {
+ * Get Option Width \
+ * The width of each option column \
+ *
+ * @return string $option_width \
+ */
+ public function get_option_width()
+ {
return $this->option_width;
}
/**
- * Set Option Width \
- * The width of each option column \
- * @param string $option_width \
- */
- public function set_option_width ($option_width) {
+ * Set Option Width \
+ * The width of each option column \
+ *
+ * @param string $option_width \
+ */
+ public function set_option_width($option_width)
+ {
$this->option_width = $option_width;
}
/**
- * Get Stem Column Title \
- * The text appears above stem row \
- * @return string $stem_title \
- */
- public function get_stem_title() {
+ * Get Stem Column Title \
+ * The text appears above stem row \
+ *
+ * @return string $stem_title \
+ */
+ public function get_stem_title()
+ {
return $this->stem_title;
}
/**
- * Set Stem Column Title \
- * The text appears above stem row \
- * @param string $stem_title \
- */
- public function set_stem_title ($stem_title) {
+ * Set Stem Column Title \
+ * The text appears above stem row \
+ *
+ * @param string $stem_title \
+ */
+ public function set_stem_title($stem_title)
+ {
$this->stem_title = $stem_title;
}
/**
- * Get Option Row Title \
- * The text appears above option row \
- * @return string $option_row_title \
- */
- public function get_option_row_title() {
+ * Get Option Row Title \
+ * The text appears above option row \
+ *
+ * @return string $option_row_title \
+ */
+ public function get_option_row_title()
+ {
return $this->option_row_title;
}
/**
- * Set Option Row Title \
- * The text appears above option row \
- * @param string $option_row_title \
- */
- public function set_option_row_title ($option_row_title) {
+ * Set Option Row Title \
+ * The text appears above option row \
+ *
+ * @param string $option_row_title \
+ */
+ public function set_option_row_title($option_row_title)
+ {
$this->option_row_title = $option_row_title;
}
/**
- * Get Show horizontal lines under stems \
- * Whether horizontal lines should be shown underneath each stem \
- * @return boolean $horizontal_lines \
- */
- public function get_horizontal_lines() {
+ * Get Show horizontal lines under stems \
+ * Whether horizontal lines should be shown underneath each stem \
+ *
+ * @return boolean $horizontal_lines \
+ */
+ public function get_horizontal_lines()
+ {
return $this->horizontal_lines;
}
/**
- * Set Show horizontal lines under stems \
- * Whether horizontal lines should be shown underneath each stem \
- * @param boolean $horizontal_lines \
- */
- public function set_horizontal_lines ($horizontal_lines) {
+ * Set Show horizontal lines under stems \
+ * Whether horizontal lines should be shown underneath each stem \
+ *
+ * @param boolean $horizontal_lines \
+ */
+ public function set_horizontal_lines($horizontal_lines)
+ {
$this->horizontal_lines = $horizontal_lines;
}
/**
- * Get Stem Numeration \
- * Numeration character to be displayed to the right of the stem label. Possible values include "number", "upper-alpha", "l
- ower-alpha" \
- * @return string $stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_stem_numeration() {
+ * Get Stem Numeration \
+ * Numeration character to be displayed to the right of the stem label. Possible values include "number", "upper-alpha", "l
+ * ower-alpha" \
+ *
+ * @return string $stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_stem_numeration()
+ {
return $this->stem_numeration;
}
/**
- * Set Stem Numeration \
- * Numeration character to be displayed to the right of the stem label. Possible values include "number", "upper-alpha", "l
- ower-alpha" \
- * @param string $stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_stem_numeration ($stem_numeration) {
+ * Set Stem Numeration \
+ * Numeration character to be displayed to the right of the stem label. Possible values include "number", "upper-alpha", "l
+ * ower-alpha" \
+ *
+ * @param string $stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_stem_numeration($stem_numeration)
+ {
$this->stem_numeration = $stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/choicematrix_validation.php b/src/Entities/QuestionTypes/choicematrix_validation.php
index 6df02c37..7f658317 100644
--- a/src/Entities/QuestionTypes/choicematrix_validation.php
+++ b/src/Entities/QuestionTypes/choicematrix_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class choicematrix_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class choicematrix_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return choicematrix_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return choicematrix_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param choicematrix_validation_valid_response $valid_response \
- */
- public function set_valid_response (choicematrix_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param choicematrix_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(choicematrix_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/choicematrix_validation_alt_responses_item.php b/src/Entities/QuestionTypes/choicematrix_validation_alt_responses_item.php
index 7c402048..f82c927a 100644
--- a/src/Entities/QuestionTypes/choicematrix_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/choicematrix_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class choicematrix_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class choicematrix_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * A list of valid answers for the choice matrix \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * A list of valid answers for the choice matrix \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * A list of valid answers for the choice matrix \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * A list of valid answers for the choice matrix \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/choicematrix_validation_valid_response.php b/src/Entities/QuestionTypes/choicematrix_validation_valid_response.php
index c803fb6e..ee1c0445 100644
--- a/src/Entities/QuestionTypes/choicematrix_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/choicematrix_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class choicematrix_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class choicematrix_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * A list of valid answers for the choice matrix \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * A list of valid answers for the choice matrix \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * A list of valid answers for the choice matrix \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * A list of valid answers for the choice matrix \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/classification.php b/src/Entities/QuestionTypes/classification.php
index baae27c8..73cd8987 100644
--- a/src/Entities/QuestionTypes/classification.php
+++ b/src/Entities/QuestionTypes/classification.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class classification extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class classification extends BaseQuestionType
+{
protected $ui_style;
protected $is_math;
protected $metadata;
@@ -22,269 +23,321 @@ class classification extends BaseQuestionType {
protected $duplicate_responses;
protected $max_response_per_cell;
protected $possible_responses;
-
+
public function __construct(
- $type,
- array $possible_responses
- )
- {
- $this->type = $type;
- $this->possible_responses = $possible_responses;
- }
+ $type,
+ array $possible_responses
+ ) {
+ $this->type = $type;
+ $this->possible_responses = $possible_responses;
+ }
/**
- * Get ui_style \
- * \
- * @return classification_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return classification_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param classification_ui_style $ui_style \
- */
- public function set_ui_style (classification_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param classification_ui_style $ui_style \
+ */
+ public function set_ui_style(classification_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return classification_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return classification_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param classification_metadata $metadata \
- */
- public function set_metadata (classification_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param classification_metadata $metadata \
+ */
+ public function set_metadata(classification_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return classification_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return classification_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param classification_validation $validation \
- */
- public function set_validation (classification_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param classification_validation $validation \
+ */
+ public function set_validation(classification_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @return boolean $duplicate_responses \
- */
- public function get_duplicate_responses() {
+ * Get Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @return boolean $duplicate_responses \
+ */
+ public function get_duplicate_responses()
+ {
return $this->duplicate_responses;
}
/**
- * Set Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @param boolean $duplicate_responses \
- */
- public function set_duplicate_responses ($duplicate_responses) {
+ * Set Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @param boolean $duplicate_responses \
+ */
+ public function set_duplicate_responses($duplicate_responses)
+ {
$this->duplicate_responses = $duplicate_responses;
}
/**
- * Get Max Response Per Cell \
- * The number of possible response each cell can have, the cell can have unlimited response if this field is empty or zero \
- * @return number $max_response_per_cell \
- */
- public function get_max_response_per_cell() {
+ * Get Max Response Per Cell \
+ * The number of possible response each cell can have, the cell can have unlimited response if this field is empty or zero \
+ *
+ * @return number $max_response_per_cell \
+ */
+ public function get_max_response_per_cell()
+ {
return $this->max_response_per_cell;
}
/**
- * Set Max Response Per Cell \
- * The number of possible response each cell can have, the cell can have unlimited response if this field is empty or zero \
- * @param number $max_response_per_cell \
- */
- public function set_max_response_per_cell ($max_response_per_cell) {
+ * Set Max Response Per Cell \
+ * The number of possible response each cell can have, the cell can have unlimited response if this field is empty or zero \
+ *
+ * @param number $max_response_per_cell \
+ */
+ public function set_max_response_per_cell($max_response_per_cell)
+ {
$this->max_response_per_cell = $max_response_per_cell;
}
/**
- * Get Possible Responses \
- * \
- * @return array $possible_responses \
- */
- public function get_possible_responses() {
+ * Get Possible Responses \
+ * \
+ *
+ * @return array $possible_responses \
+ */
+ public function get_possible_responses()
+ {
return $this->possible_responses;
}
/**
- * Set Possible Responses \
- * \
- * @param array $possible_responses \
- */
- public function set_possible_responses (array $possible_responses) {
+ * Set Possible Responses \
+ * \
+ *
+ * @param array $possible_responses \
+ */
+ public function set_possible_responses(array $possible_responses)
+ {
$this->possible_responses = $possible_responses;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/classification_metadata.php b/src/Entities/QuestionTypes/classification_metadata.php
index 9ff9708e..5cb531e0 100644
--- a/src/Entities/QuestionTypes/classification_metadata.php
+++ b/src/Entities/QuestionTypes/classification_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class classification_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class classification_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/classification_ui_style.php b/src/Entities/QuestionTypes/classification_ui_style.php
index 21c7167a..988627ea 100644
--- a/src/Entities/QuestionTypes/classification_ui_style.php
+++ b/src/Entities/QuestionTypes/classification_ui_style.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class classification_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class classification_ui_style extends BaseQuestionTypeAttribute
+{
protected $possibility_list_position;
protected $fontsize;
protected $validation_stem_numeration;
@@ -20,210 +21,253 @@ class classification_ui_style extends BaseQuestionTypeAttribute {
protected $row_min_height;
protected $row_titles_width;
protected $show_drag_handle;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @return string $possibility_list_position \
- */
- public function get_possibility_list_position() {
+ * Get Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @return string $possibility_list_position \
+ */
+ public function get_possibility_list_position()
+ {
return $this->possibility_list_position;
}
/**
- * Set Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @param string $possibility_list_position \
- */
- public function set_possibility_list_position ($possibility_list_position) {
+ * Set Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @param string $possibility_list_position \
+ */
+ public function set_possibility_list_position($possibility_list_position)
+ {
$this->possibility_list_position = $possibility_list_position;
}
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Column count \
- * Defines the number of columns the classification table will have \
- * @return number $column_count \
- */
- public function get_column_count() {
+ * Get Column count \
+ * Defines the number of columns the classification table will have \
+ *
+ * @return number $column_count \
+ */
+ public function get_column_count()
+ {
return $this->column_count;
}
/**
- * Set Column count \
- * Defines the number of columns the classification table will have \
- * @param number $column_count \
- */
- public function set_column_count ($column_count) {
+ * Set Column count \
+ * Defines the number of columns the classification table will have \
+ *
+ * @param number $column_count \
+ */
+ public function set_column_count($column_count)
+ {
$this->column_count = $column_count;
}
/**
- * Get Row count \
- * Defines the number of rows the classification table will have \
- * @return number $row_count \
- */
- public function get_row_count() {
+ * Get Row count \
+ * Defines the number of rows the classification table will have \
+ *
+ * @return number $row_count \
+ */
+ public function get_row_count()
+ {
return $this->row_count;
}
/**
- * Set Row count \
- * Defines the number of rows the classification table will have \
- * @param number $row_count \
- */
- public function set_row_count ($row_count) {
+ * Set Row count \
+ * Defines the number of rows the classification table will have \
+ *
+ * @param number $row_count \
+ */
+ public function set_row_count($row_count)
+ {
$this->row_count = $row_count;
}
/**
- * Get Column titles \
- * Column titles for the classification table, if there are more titles then columns the excess titles will be ignored \
- * @return array $column_titles \
- */
- public function get_column_titles() {
+ * Get Column titles \
+ * Column titles for the classification table, if there are more titles then columns the excess titles will be ignored \
+ *
+ * @return array $column_titles \
+ */
+ public function get_column_titles()
+ {
return $this->column_titles;
}
/**
- * Set Column titles \
- * Column titles for the classification table, if there are more titles then columns the excess titles will be ignored \
- * @param array $column_titles \
- */
- public function set_column_titles (array $column_titles) {
+ * Set Column titles \
+ * Column titles for the classification table, if there are more titles then columns the excess titles will be ignored \
+ *
+ * @param array $column_titles \
+ */
+ public function set_column_titles(array $column_titles)
+ {
$this->column_titles = $column_titles;
}
/**
- * Get Row header \
- * Row header for the classification table, if there is no row title this attribute will be ignored. \
- * @return string $row_header \
- */
- public function get_row_header() {
+ * Get Row header \
+ * Row header for the classification table, if there is no row title this attribute will be ignored. \
+ *
+ * @return string $row_header \
+ */
+ public function get_row_header()
+ {
return $this->row_header;
}
/**
- * Set Row header \
- * Row header for the classification table, if there is no row title this attribute will be ignored. \
- * @param string $row_header \
- */
- public function set_row_header ($row_header) {
+ * Set Row header \
+ * Row header for the classification table, if there is no row title this attribute will be ignored. \
+ *
+ * @param string $row_header \
+ */
+ public function set_row_header($row_header)
+ {
$this->row_header = $row_header;
}
/**
- * Get Row titles \
- * Row titles for the classification table, if there are more titles then rows the excess titles will be ignored \
- * @return array $row_titles \
- */
- public function get_row_titles() {
+ * Get Row titles \
+ * Row titles for the classification table, if there are more titles then rows the excess titles will be ignored \
+ *
+ * @return array $row_titles \
+ */
+ public function get_row_titles()
+ {
return $this->row_titles;
}
/**
- * Set Row titles \
- * Row titles for the classification table, if there are more titles then rows the excess titles will be ignored \
- * @param array $row_titles \
- */
- public function set_row_titles (array $row_titles) {
+ * Set Row titles \
+ * Row titles for the classification table, if there are more titles then rows the excess titles will be ignored \
+ *
+ * @param array $row_titles \
+ */
+ public function set_row_titles(array $row_titles)
+ {
$this->row_titles = $row_titles;
}
/**
- * Get Row min height \
- * Minimum height for the input table rows. \
- * @return string $row_min_height \
- */
- public function get_row_min_height() {
+ * Get Row min height \
+ * Minimum height for the input table rows. \
+ *
+ * @return string $row_min_height \
+ */
+ public function get_row_min_height()
+ {
return $this->row_min_height;
}
/**
- * Set Row min height \
- * Minimum height for the input table rows. \
- * @param string $row_min_height \
- */
- public function set_row_min_height ($row_min_height) {
+ * Set Row min height \
+ * Minimum height for the input table rows. \
+ *
+ * @param string $row_min_height \
+ */
+ public function set_row_min_height($row_min_height)
+ {
$this->row_min_height = $row_min_height;
}
/**
- * Get Row titles width \
- * The width of the column containing the row titles in the classification table \
- * @return string $row_titles_width \
- */
- public function get_row_titles_width() {
+ * Get Row titles width \
+ * The width of the column containing the row titles in the classification table \
+ *
+ * @return string $row_titles_width \
+ */
+ public function get_row_titles_width()
+ {
return $this->row_titles_width;
}
/**
- * Set Row titles width \
- * The width of the column containing the row titles in the classification table \
- * @param string $row_titles_width \
- */
- public function set_row_titles_width ($row_titles_width) {
+ * Set Row titles width \
+ * The width of the column containing the row titles in the classification table \
+ *
+ * @param string $row_titles_width \
+ */
+ public function set_row_titles_width($row_titles_width)
+ {
$this->row_titles_width = $row_titles_width;
}
/**
- * Get Show drag handle \
- * Determines whether to show the drag handle. \
- * @return boolean $show_drag_handle \
- */
- public function get_show_drag_handle() {
+ * Get Show drag handle \
+ * Determines whether to show the drag handle. \
+ *
+ * @return boolean $show_drag_handle \
+ */
+ public function get_show_drag_handle()
+ {
return $this->show_drag_handle;
}
/**
- * Set Show drag handle \
- * Determines whether to show the drag handle. \
- * @param boolean $show_drag_handle \
- */
- public function set_show_drag_handle ($show_drag_handle) {
+ * Set Show drag handle \
+ * Determines whether to show the drag handle. \
+ *
+ * @param boolean $show_drag_handle \
+ */
+ public function set_show_drag_handle($show_drag_handle)
+ {
$this->show_drag_handle = $show_drag_handle;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/classification_validation.php b/src/Entities/QuestionTypes/classification_validation.php
index 277bb7ca..881a3296 100644
--- a/src/Entities/QuestionTypes/classification_validation.php
+++ b/src/Entities/QuestionTypes/classification_validation.php
@@ -5,121 +5,141 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class classification_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class classification_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match per cell - max score - A relative part of the score
- will be given for each correct response area
'partialMatch': Partial Match per cell - Cumulative Sco
- re value will be given for each correct response area
'partialMatchElement': Partial Match per eleme
- nt - Cumulative Score value will be given for each correctly placed response string \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2, partialMatchElement \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match per cell - max score - A relative part of the score
+ * will be given for each correct response area
'partialMatch': Partial Match per cell - Cumulative Sco
+ * re value will be given for each correct response area
'partialMatchElement': Partial Match per eleme
+ * nt - Cumulative Score value will be given for each correctly placed response string \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2, partialMatchElement \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match per cell - max score - A relative part of the score
- will be given for each correct response area
'partialMatch': Partial Match per cell - Cumulative Sco
- re value will be given for each correct response area
'partialMatchElement': Partial Match per eleme
- nt - Cumulative Score value will be given for each correctly placed response string \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2, partialMatchElement \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match per cell - max score - A relative part of the score
+ * will be given for each correct response area
'partialMatch': Partial Match per cell - Cumulative Sco
+ * re value will be given for each correct response area
'partialMatchElement': Partial Match per eleme
+ * nt - Cumulative Score value will be given for each correctly placed response string \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2, partialMatchElement \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return classification_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return classification_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param classification_validation_valid_response $valid_response \
- */
- public function set_valid_response (classification_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param classification_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(classification_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/classification_validation_alt_responses_item.php b/src/Entities/QuestionTypes/classification_validation_alt_responses_item.php
index 6ab25814..fbfc0452 100644
--- a/src/Entities/QuestionTypes/classification_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/classification_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class classification_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class classification_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/classification_validation_valid_response.php b/src/Entities/QuestionTypes/classification_validation_valid_response.php
index 81a3b4f4..496c9b05 100644
--- a/src/Entities/QuestionTypes/classification_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/classification_validation_valid_response.php
@@ -5,58 +5,66 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class classification_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class classification_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * A 3 dimensional array that consists of: An array of different valid responses (in most cases there will only be one vali
- d response), each valid response is an array that contains an entry for each cell. each cell is an array of response ind
- ex's. The response index is based on the index value in the possible_responses attribute. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * A 3 dimensional array that consists of: An array of different valid responses (in most cases there will only be one vali
+ * d response), each valid response is an array that contains an entry for each cell. each cell is an array of response ind
+ * ex's. The response index is based on the index value in the possible_responses attribute. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * A 3 dimensional array that consists of: An array of different valid responses (in most cases there will only be one vali
- d response), each valid response is an array that contains an entry for each cell. each cell is an array of response ind
- ex's. The response index is based on the index value in the possible_responses attribute. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * A 3 dimensional array that consists of: An array of different valid responses (in most cases there will only be one vali
+ * d response), each valid response is an array that contains an entry for each cell. each cell is an array of response ind
+ * ex's. The response index is based on the index value in the possible_responses attribute. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation.php b/src/Entities/QuestionTypes/clozeassociation.php
index 633f650f..e63e2878 100644
--- a/src/Entities/QuestionTypes/clozeassociation.php
+++ b/src/Entities/QuestionTypes/clozeassociation.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation extends BaseQuestionType
+{
protected $ui_style;
protected $is_math;
protected $metadata;
@@ -24,309 +25,369 @@ class clozeassociation extends BaseQuestionType {
protected $template;
protected $possible_responses;
protected $duplicate_responses;
-
+
public function __construct(
- $type,
- $template,
- array $possible_responses
- )
- {
- $this->type = $type;
- $this->template = $template;
- $this->possible_responses = $possible_responses;
- }
+ $type,
+ $template,
+ array $possible_responses
+ ) {
+ $this->type = $type;
+ $this->template = $template;
+ $this->possible_responses = $possible_responses;
+ }
/**
- * Get UI Style - DRAFT \
- * Object used to control different aspects of the UI \
- * @return clozeassociation_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get UI Style - DRAFT \
+ * Object used to control different aspects of the UI \
+ *
+ * @return clozeassociation_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set UI Style - DRAFT \
- * Object used to control different aspects of the UI \
- * @param clozeassociation_ui_style $ui_style \
- */
- public function set_ui_style (clozeassociation_ui_style $ui_style) {
+ * Set UI Style - DRAFT \
+ * Object used to control different aspects of the UI \
+ *
+ * @param clozeassociation_ui_style $ui_style \
+ */
+ public function set_ui_style(clozeassociation_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return clozeassociation_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return clozeassociation_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param clozeassociation_metadata $metadata \
- */
- public function set_metadata (clozeassociation_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param clozeassociation_metadata $metadata \
+ */
+ public function set_metadata(clozeassociation_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return clozeassociation_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return clozeassociation_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param clozeassociation_validation $validation \
- */
- public function set_validation (clozeassociation_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param clozeassociation_validation $validation \
+ */
+ public function set_validation(clozeassociation_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return clozeassociation_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return clozeassociation_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param clozeassociation_response_container $response_container \
- */
- public function set_response_container (clozeassociation_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param clozeassociation_response_container $response_container \
+ */
+ public function set_response_container(clozeassociation_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Possible Responses \
- * Array of strings values that need to be dragged to the actual response position. \
- * @return array $possible_responses \
- */
- public function get_possible_responses() {
+ * Get Possible Responses \
+ * Array of strings values that need to be dragged to the actual response position. \
+ *
+ * @return array $possible_responses \
+ */
+ public function get_possible_responses()
+ {
return $this->possible_responses;
}
/**
- * Set Possible Responses \
- * Array of strings values that need to be dragged to the actual response position. \
- * @param array $possible_responses \
- */
- public function set_possible_responses (array $possible_responses) {
+ * Set Possible Responses \
+ * Array of strings values that need to be dragged to the actual response position. \
+ *
+ * @param array $possible_responses \
+ */
+ public function set_possible_responses(array $possible_responses)
+ {
$this->possible_responses = $possible_responses;
}
/**
- * Get Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @return boolean $duplicate_responses \
- */
- public function get_duplicate_responses() {
+ * Get Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @return boolean $duplicate_responses \
+ */
+ public function get_duplicate_responses()
+ {
return $this->duplicate_responses;
}
/**
- * Set Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @param boolean $duplicate_responses \
- */
- public function set_duplicate_responses ($duplicate_responses) {
+ * Set Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @param boolean $duplicate_responses \
+ */
+ public function set_duplicate_responses($duplicate_responses)
+ {
$this->duplicate_responses = $duplicate_responses;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_metadata.php b/src/Entities/QuestionTypes/clozeassociation_metadata.php
index b962b08e..250ded61 100644
--- a/src/Entities/QuestionTypes/clozeassociation_metadata.php
+++ b/src/Entities/QuestionTypes/clozeassociation_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_response_container.php b/src/Entities/QuestionTypes/clozeassociation_response_container.php
index a6afe2aa..c462696a 100644
--- a/src/Entities/QuestionTypes/clozeassociation_response_container.php
+++ b/src/Entities/QuestionTypes/clozeassociation_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $wordwrap;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @return boolean $wordwrap \
- */
- public function get_wordwrap() {
+ * Get Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @return boolean $wordwrap \
+ */
+ public function get_wordwrap()
+ {
return $this->wordwrap;
}
/**
- * Set Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @param boolean $wordwrap \
- */
- public function set_wordwrap ($wordwrap) {
+ * Set Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @param boolean $wordwrap \
+ */
+ public function set_wordwrap($wordwrap)
+ {
$this->wordwrap = $wordwrap;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_response_containers_item.php b/src/Entities/QuestionTypes/clozeassociation_response_containers_item.php
index 76ab6ad7..5fa63543 100644
--- a/src/Entities/QuestionTypes/clozeassociation_response_containers_item.php
+++ b/src/Entities/QuestionTypes/clozeassociation_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $wordwrap;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @return boolean $wordwrap \
- */
- public function get_wordwrap() {
+ * Get Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @return boolean $wordwrap \
+ */
+ public function get_wordwrap()
+ {
return $this->wordwrap;
}
/**
- * Set Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @param boolean $wordwrap \
- */
- public function set_wordwrap ($wordwrap) {
+ * Set Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @param boolean $wordwrap \
+ */
+ public function set_wordwrap($wordwrap)
+ {
$this->wordwrap = $wordwrap;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_ui_style.php b/src/Entities/QuestionTypes/clozeassociation_ui_style.php
index 111a7603..07ea05be 100644
--- a/src/Entities/QuestionTypes/clozeassociation_ui_style.php
+++ b/src/Entities/QuestionTypes/clozeassociation_ui_style.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_ui_style extends BaseQuestionTypeAttribute
+{
protected $possibility_list_position;
protected $fontsize;
protected $validation_stem_numeration;
protected $show_drag_handle;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @return string $possibility_list_position \
- */
- public function get_possibility_list_position() {
+ * Get Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @return string $possibility_list_position \
+ */
+ public function get_possibility_list_position()
+ {
return $this->possibility_list_position;
}
/**
- * Set Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @param string $possibility_list_position \
- */
- public function set_possibility_list_position ($possibility_list_position) {
+ * Set Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @param string $possibility_list_position \
+ */
+ public function set_possibility_list_position($possibility_list_position)
+ {
$this->possibility_list_position = $possibility_list_position;
}
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Show drag handle \
- * Determines whether to show the drag handle. \
- * @return boolean $show_drag_handle \
- */
- public function get_show_drag_handle() {
+ * Get Show drag handle \
+ * Determines whether to show the drag handle. \
+ *
+ * @return boolean $show_drag_handle \
+ */
+ public function get_show_drag_handle()
+ {
return $this->show_drag_handle;
}
/**
- * Set Show drag handle \
- * Determines whether to show the drag handle. \
- * @param boolean $show_drag_handle \
- */
- public function set_show_drag_handle ($show_drag_handle) {
+ * Set Show drag handle \
+ * Determines whether to show the drag handle. \
+ *
+ * @param boolean $show_drag_handle \
+ */
+ public function set_show_drag_handle($show_drag_handle)
+ {
$this->show_drag_handle = $show_drag_handle;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_validation.php b/src/Entities/QuestionTypes/clozeassociation_validation.php
index 5450d40a..f57b5a70 100644
--- a/src/Entities/QuestionTypes/clozeassociation_validation.php
+++ b/src/Entities/QuestionTypes/clozeassociation_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return clozeassociation_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return clozeassociation_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param clozeassociation_validation_valid_response $valid_response \
- */
- public function set_valid_response (clozeassociation_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param clozeassociation_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(clozeassociation_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_validation_alt_responses_item.php b/src/Entities/QuestionTypes/clozeassociation_validation_alt_responses_item.php
index 3d68e8e5..532ab999 100644
--- a/src/Entities/QuestionTypes/clozeassociation_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/clozeassociation_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeassociation_validation_valid_response.php b/src/Entities/QuestionTypes/clozeassociation_validation_valid_response.php
index 7f99a996..5ae40a7a 100644
--- a/src/Entities/QuestionTypes/clozeassociation_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/clozeassociation_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeassociation_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeassociation_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry.php b/src/Entities/QuestionTypes/clozechemistry.php
index 69ee5674..6e9e7d6a 100644
--- a/src/Entities/QuestionTypes/clozechemistry.php
+++ b/src/Entities/QuestionTypes/clozechemistry.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -26,341 +27,409 @@ class clozechemistry extends BaseQuestionType {
protected $response_container;
protected $showHints;
protected $symbols;
-
+
public function __construct(
- $type,
- $template,
- array $response_containers
- )
- {
- $this->type = $type;
- $this->template = $template;
- $this->response_containers = $response_containers;
- }
-
- /**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ $type,
+ $template,
+ array $response_containers
+ ) {
+ $this->type = $type;
+ $this->template = $template;
+ $this->response_containers = $response_containers;
+ }
+
+ /**
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return clozechemistry_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return clozechemistry_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param clozechemistry_metadata $metadata \
- */
- public function set_metadata (clozechemistry_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param clozechemistry_metadata $metadata \
+ */
+ public function set_metadata(clozechemistry_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return clozechemistry_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return clozechemistry_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param clozechemistry_ui_style $ui_style \
- */
- public function set_ui_style (clozechemistry_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param clozechemistry_ui_style $ui_style \
+ */
+ public function set_ui_style(clozechemistry_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return clozechemistry_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return clozechemistry_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param clozechemistry_validation $validation \
- */
- public function set_validation (clozechemistry_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param clozechemistry_validation $validation \
+ */
+ public function set_validation(clozechemistry_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Template Markup \
- * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template Markup \
+ * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template Markup \
- * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template Markup \
+ * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @return clozechemistry_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @return clozechemistry_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @param clozechemistry_response_container $response_container \
- */
- public function set_response_container (clozechemistry_response_container $response_container) {
+ * Set Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @param clozechemistry_response_container $response_container \
+ */
+ public function set_response_container(clozechemistry_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_metadata.php b/src/Entities/QuestionTypes/clozechemistry_metadata.php
index c4fd0159..c5b1824a 100644
--- a/src/Entities/QuestionTypes/clozechemistry_metadata.php
+++ b/src/Entities/QuestionTypes/clozechemistry_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_response_container.php b/src/Entities/QuestionTypes/clozechemistry_response_container.php
index 5a97b575..f435b0c6 100644
--- a/src/Entities/QuestionTypes/clozechemistry_response_container.php
+++ b/src/Entities/QuestionTypes/clozechemistry_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_response_container extends BaseQuestionTypeAttribute
+{
protected $template;
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_response_containers_item.php b/src/Entities/QuestionTypes/clozechemistry_response_containers_item.php
index ba94cd5b..be9f16d7 100644
--- a/src/Entities/QuestionTypes/clozechemistry_response_containers_item.php
+++ b/src/Entities/QuestionTypes/clozechemistry_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $template;
protected $width;
protected $height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Width \
- * \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height \
- * \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_ui_style.php b/src/Entities/QuestionTypes/clozechemistry_ui_style.php
index 57aa0aac..3bdc8153 100644
--- a/src/Entities/QuestionTypes/clozechemistry_ui_style.php
+++ b/src/Entities/QuestionTypes/clozechemistry_ui_style.php
@@ -5,134 +5,158 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $keyboard_below_response_area;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @return boolean $keyboard_below_response_area \
- */
- public function get_keyboard_below_response_area() {
+ * Get Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @return boolean $keyboard_below_response_area \
+ */
+ public function get_keyboard_below_response_area()
+ {
return $this->keyboard_below_response_area;
}
/**
- * Set Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @param boolean $keyboard_below_response_area \
- */
- public function set_keyboard_below_response_area ($keyboard_below_response_area) {
+ * Set Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @param boolean $keyboard_below_response_area \
+ */
+ public function set_keyboard_below_response_area($keyboard_below_response_area)
+ {
$this->keyboard_below_response_area = $keyboard_below_response_area;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_validation.php b/src/Entities/QuestionTypes/clozechemistry_validation.php
index 0eff2c43..bfd2586c 100644
--- a/src/Entities/QuestionTypes/clozechemistry_validation.php
+++ b/src/Entities/QuestionTypes/clozechemistry_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid Responses \
- * An object containing the valid response score and value. \
- * @return clozechemistry_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @return clozechemistry_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid Responses \
- * An object containing the valid response score and value. \
- * @param clozechemistry_validation_valid_response $valid_response \
- */
- public function set_valid_response (clozechemistry_validation_valid_response $valid_response) {
+ * Set Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @param clozechemistry_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(clozechemistry_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_validation_alt_responses_item.php b/src/Entities/QuestionTypes/clozechemistry_validation_alt_responses_item.php
index 38907828..36e5dc42 100644
--- a/src/Entities/QuestionTypes/clozechemistry_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/clozechemistry_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Values \
- * An array of arrays that contain the valid responses. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Values \
- * An array of arrays that contain the valid responses. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozechemistry_validation_valid_response.php b/src/Entities/QuestionTypes/clozechemistry_validation_valid_response.php
index cbece10f..d26e510f 100644
--- a/src/Entities/QuestionTypes/clozechemistry_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/clozechemistry_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozechemistry_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozechemistry_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown.php b/src/Entities/QuestionTypes/clozedropdown.php
index b0bae81f..aaf0bce3 100644
--- a/src/Entities/QuestionTypes/clozedropdown.php
+++ b/src/Entities/QuestionTypes/clozedropdown.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -23,293 +24,349 @@ class clozedropdown extends BaseQuestionType {
protected $description;
protected $template;
protected $possible_responses;
-
+
public function __construct(
- $type,
- $template,
- array $possible_responses
- )
- {
- $this->type = $type;
- $this->template = $template;
- $this->possible_responses = $possible_responses;
- }
+ $type,
+ $template,
+ array $possible_responses
+ ) {
+ $this->type = $type;
+ $this->template = $template;
+ $this->possible_responses = $possible_responses;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return clozedropdown_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return clozedropdown_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param clozedropdown_metadata $metadata \
- */
- public function set_metadata (clozedropdown_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param clozedropdown_metadata $metadata \
+ */
+ public function set_metadata(clozedropdown_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return clozedropdown_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return clozedropdown_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param clozedropdown_ui_style $ui_style \
- */
- public function set_ui_style (clozedropdown_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param clozedropdown_ui_style $ui_style \
+ */
+ public function set_ui_style(clozedropdown_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return clozedropdown_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return clozedropdown_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param clozedropdown_validation $validation \
- */
- public function set_validation (clozedropdown_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param clozedropdown_validation $validation \
+ */
+ public function set_validation(clozedropdown_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return clozedropdown_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return clozedropdown_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param clozedropdown_response_container $response_container \
- */
- public function set_response_container (clozedropdown_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param clozedropdown_response_container $response_container \
+ */
+ public function set_response_container(clozedropdown_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Possible Responses \
- * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
- order within the dropdown. \
- * @return array $possible_responses \
- */
- public function get_possible_responses() {
+ * Get Possible Responses \
+ * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
+ * order within the dropdown. \
+ *
+ * @return array $possible_responses \
+ */
+ public function get_possible_responses()
+ {
return $this->possible_responses;
}
/**
- * Set Possible Responses \
- * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
- order within the dropdown. \
- * @param array $possible_responses \
- */
- public function set_possible_responses (array $possible_responses) {
+ * Set Possible Responses \
+ * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
+ * order within the dropdown. \
+ *
+ * @param array $possible_responses \
+ */
+ public function set_possible_responses(array $possible_responses)
+ {
$this->possible_responses = $possible_responses;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_metadata.php b/src/Entities/QuestionTypes/clozedropdown_metadata.php
index f2e5c390..42a55040 100644
--- a/src/Entities/QuestionTypes/clozedropdown_metadata.php
+++ b/src/Entities/QuestionTypes/clozedropdown_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_response_container.php b/src/Entities/QuestionTypes/clozedropdown_response_container.php
index 1c2f5cdb..8ee4f4c1 100644
--- a/src/Entities/QuestionTypes/clozedropdown_response_container.php
+++ b/src/Entities/QuestionTypes/clozedropdown_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $placeholder;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_response_containers_item.php b/src/Entities/QuestionTypes/clozedropdown_response_containers_item.php
index 8f759d6d..bec6bc32 100644
--- a/src/Entities/QuestionTypes/clozedropdown_response_containers_item.php
+++ b/src/Entities/QuestionTypes/clozedropdown_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $placeholder;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_ui_style.php b/src/Entities/QuestionTypes/clozedropdown_ui_style.php
index da549547..ac39439d 100644
--- a/src/Entities/QuestionTypes/clozedropdown_ui_style.php
+++ b/src/Entities/QuestionTypes/clozedropdown_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_validation.php b/src/Entities/QuestionTypes/clozedropdown_validation.php
index c8201b9f..bdfc943e 100644
--- a/src/Entities/QuestionTypes/clozedropdown_validation.php
+++ b/src/Entities/QuestionTypes/clozedropdown_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return clozedropdown_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return clozedropdown_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param clozedropdown_validation_valid_response $valid_response \
- */
- public function set_valid_response (clozedropdown_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param clozedropdown_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(clozedropdown_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_validation_alt_responses_item.php b/src/Entities/QuestionTypes/clozedropdown_validation_alt_responses_item.php
index 3839d4b6..e64fce0c 100644
--- a/src/Entities/QuestionTypes/clozedropdown_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/clozedropdown_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozedropdown_validation_valid_response.php b/src/Entities/QuestionTypes/clozedropdown_validation_valid_response.php
index af843bac..5824ce22 100644
--- a/src/Entities/QuestionTypes/clozedropdown_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/clozedropdown_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozedropdown_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozedropdown_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula.php b/src/Entities/QuestionTypes/clozeformula.php
index f201454e..69a454c7 100644
--- a/src/Entities/QuestionTypes/clozeformula.php
+++ b/src/Entities/QuestionTypes/clozeformula.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -26,341 +27,409 @@ class clozeformula extends BaseQuestionType {
protected $response_container;
protected $showHints;
protected $symbols;
-
+
public function __construct(
- $type,
- $template,
- array $response_containers
- )
- {
- $this->type = $type;
- $this->template = $template;
- $this->response_containers = $response_containers;
- }
-
- /**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ $type,
+ $template,
+ array $response_containers
+ ) {
+ $this->type = $type;
+ $this->template = $template;
+ $this->response_containers = $response_containers;
+ }
+
+ /**
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return clozeformula_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return clozeformula_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param clozeformula_metadata $metadata \
- */
- public function set_metadata (clozeformula_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param clozeformula_metadata $metadata \
+ */
+ public function set_metadata(clozeformula_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return clozeformula_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return clozeformula_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param clozeformula_ui_style $ui_style \
- */
- public function set_ui_style (clozeformula_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param clozeformula_ui_style $ui_style \
+ */
+ public function set_ui_style(clozeformula_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return clozeformula_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return clozeformula_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param clozeformula_validation $validation \
- */
- public function set_validation (clozeformula_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param clozeformula_validation $validation \
+ */
+ public function set_validation(clozeformula_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Template Markup \
- * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template Markup \
+ * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template Markup \
- * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template Markup \
+ * A string containing markup e.g. {{response}}, which define where response areas will be rendered. HTML supported tags \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @return clozeformula_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @return clozeformula_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @param clozeformula_response_container $response_container \
- */
- public function set_response_container (clozeformula_response_container $response_container) {
+ * Set Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @param clozeformula_response_container $response_container \
+ */
+ public function set_response_container(clozeformula_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/clozeformula_metadata.php b/src/Entities/QuestionTypes/clozeformula_metadata.php
index 25a18ccc..7dbe3ec8 100644
--- a/src/Entities/QuestionTypes/clozeformula_metadata.php
+++ b/src/Entities/QuestionTypes/clozeformula_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula_response_container.php b/src/Entities/QuestionTypes/clozeformula_response_container.php
index 1f07112a..fb99c039 100644
--- a/src/Entities/QuestionTypes/clozeformula_response_container.php
+++ b/src/Entities/QuestionTypes/clozeformula_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_response_container extends BaseQuestionTypeAttribute
+{
protected $template;
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula_response_containers_item.php b/src/Entities/QuestionTypes/clozeformula_response_containers_item.php
index f24c7df2..04ee5b9d 100644
--- a/src/Entities/QuestionTypes/clozeformula_response_containers_item.php
+++ b/src/Entities/QuestionTypes/clozeformula_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $template;
protected $width;
protected $height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Width \
- * \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height \
- * \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula_ui_style.php b/src/Entities/QuestionTypes/clozeformula_ui_style.php
index 3092715a..0a258dd6 100644
--- a/src/Entities/QuestionTypes/clozeformula_ui_style.php
+++ b/src/Entities/QuestionTypes/clozeformula_ui_style.php
@@ -5,134 +5,158 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $keyboard_below_response_area;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @return boolean $keyboard_below_response_area \
- */
- public function get_keyboard_below_response_area() {
+ * Get Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @return boolean $keyboard_below_response_area \
+ */
+ public function get_keyboard_below_response_area()
+ {
return $this->keyboard_below_response_area;
}
/**
- * Set Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @param boolean $keyboard_below_response_area \
- */
- public function set_keyboard_below_response_area ($keyboard_below_response_area) {
+ * Set Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @param boolean $keyboard_below_response_area \
+ */
+ public function set_keyboard_below_response_area($keyboard_below_response_area)
+ {
$this->keyboard_below_response_area = $keyboard_below_response_area;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula_validation.php b/src/Entities/QuestionTypes/clozeformula_validation.php
index 857b432d..28eaa9ae 100644
--- a/src/Entities/QuestionTypes/clozeformula_validation.php
+++ b/src/Entities/QuestionTypes/clozeformula_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid Responses \
- * An object containing the valid response score and value. \
- * @return clozeformula_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @return clozeformula_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid Responses \
- * An object containing the valid response score and value. \
- * @param clozeformula_validation_valid_response $valid_response \
- */
- public function set_valid_response (clozeformula_validation_valid_response $valid_response) {
+ * Set Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @param clozeformula_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(clozeformula_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula_validation_alt_responses_item.php b/src/Entities/QuestionTypes/clozeformula_validation_alt_responses_item.php
index f10b274b..a57f445a 100644
--- a/src/Entities/QuestionTypes/clozeformula_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/clozeformula_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Values \
- * An array of arrays that contain the valid responses. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Values \
- * An array of arrays that contain the valid responses. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeformula_validation_valid_response.php b/src/Entities/QuestionTypes/clozeformula_validation_valid_response.php
index dab83b3d..b523ec91 100644
--- a/src/Entities/QuestionTypes/clozeformula_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/clozeformula_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeformula_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeformula_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext.php b/src/Entities/QuestionTypes/clozeinlinetext.php
index 35fdafa5..d6580b47 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -26,357 +27,425 @@ class clozeinlinetext extends BaseQuestionType {
protected $max_length;
protected $spellcheck;
protected $case_sensitive;
-
+
public function __construct(
- $type,
- $template
- )
- {
- $this->type = $type;
- $this->template = $template;
- }
+ $type,
+ $template
+ ) {
+ $this->type = $type;
+ $this->template = $template;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return clozeinlinetext_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return clozeinlinetext_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param clozeinlinetext_metadata $metadata \
- */
- public function set_metadata (clozeinlinetext_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param clozeinlinetext_metadata $metadata \
+ */
+ public function set_metadata(clozeinlinetext_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return clozeinlinetext_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return clozeinlinetext_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param clozeinlinetext_ui_style $ui_style \
- */
- public function set_ui_style (clozeinlinetext_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param clozeinlinetext_ui_style $ui_style \
+ */
+ public function set_ui_style(clozeinlinetext_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return clozeinlinetext_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return clozeinlinetext_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param clozeinlinetext_validation $validation \
- */
- public function set_validation (clozeinlinetext_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param clozeinlinetext_validation $validation \
+ */
+ public function set_validation(clozeinlinetext_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return clozeinlinetext_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return clozeinlinetext_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param clozeinlinetext_response_container $response_container \
- */
- public function set_response_container (clozeinlinetext_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param clozeinlinetext_response_container $response_container \
+ */
+ public function set_response_container(clozeinlinetext_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Character Map \
- * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
-If an Array, the character map button
- will show and display only the array of characters.
IMPORTANT The HTML doc
- ument will require a charset of utf-8: <meta charset="utf-8">
\
- * @return $character_map \
- */
- public function get_character_map() {
+ * Get Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
+ * If an Array, the character map button
+ * will show and display only the array of characters.
IMPORTANT The HTML doc
+ * ument will require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @return $character_map \
+ */
+ public function get_character_map()
+ {
return $this->character_map;
}
/**
- * Set Character Map \
- * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
-If an Array, the character map button
- will show and display only the array of characters.
IMPORTANT The HTML doc
- ument will require a charset of utf-8: <meta charset="utf-8">
\
- * @param $character_map \
- */
- public function set_character_map ($character_map) {
+ * Set Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
+ * If an Array, the character map button
+ * will show and display only the array of characters.
IMPORTANT The HTML doc
+ * ument will require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @param $character_map \
+ */
+ public function set_character_map($character_map)
+ {
$this->character_map = $character_map;
}
/**
- * Get Maximum Length (characters) \
- * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
- ype. \
- * @return number $max_length \
- */
- public function get_max_length() {
+ * Get Maximum Length (characters) \
+ * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
+ * ype. \
+ *
+ * @return number $max_length \
+ */
+ public function get_max_length()
+ {
return $this->max_length;
}
/**
- * Set Maximum Length (characters) \
- * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
- ype. \
- * @param number $max_length \
- */
- public function set_max_length ($max_length) {
+ * Set Maximum Length (characters) \
+ * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
+ * ype. \
+ *
+ * @param number $max_length \
+ */
+ public function set_max_length($max_length)
+ {
$this->max_length = $max_length;
}
/**
- * Get Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @return boolean $spellcheck \
- */
- public function get_spellcheck() {
+ * Get Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @return boolean $spellcheck \
+ */
+ public function get_spellcheck()
+ {
return $this->spellcheck;
}
/**
- * Set Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @param boolean $spellcheck \
- */
- public function set_spellcheck ($spellcheck) {
+ * Set Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @param boolean $spellcheck \
+ */
+ public function set_spellcheck($spellcheck)
+ {
$this->spellcheck = $spellcheck;
}
/**
- * Get Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @return boolean $case_sensitive \
- */
- public function get_case_sensitive() {
+ * Get Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @return boolean $case_sensitive \
+ */
+ public function get_case_sensitive()
+ {
return $this->case_sensitive;
}
/**
- * Set Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @param boolean $case_sensitive \
- */
- public function set_case_sensitive ($case_sensitive) {
+ * Set Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @param boolean $case_sensitive \
+ */
+ public function set_case_sensitive($case_sensitive)
+ {
$this->case_sensitive = $case_sensitive;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_metadata.php b/src/Entities/QuestionTypes/clozeinlinetext_metadata.php
index e6e7f54b..f7a96b47 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_metadata.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_response_container.php b/src/Entities/QuestionTypes/clozeinlinetext_response_container.php
index 1181f946..d090717c 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_response_container.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $placeholder;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_response_containers_item.php b/src/Entities/QuestionTypes/clozeinlinetext_response_containers_item.php
index 8e4d1f1d..a82e927d 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_response_containers_item.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $placeholder;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_ui_style.php b/src/Entities/QuestionTypes/clozeinlinetext_ui_style.php
index 3a22279b..6e9d4e5f 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_ui_style.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_validation.php b/src/Entities/QuestionTypes/clozeinlinetext_validation.php
index 55676b15..68447190 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_validation.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return clozeinlinetext_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return clozeinlinetext_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param clozeinlinetext_validation_valid_response $valid_response \
- */
- public function set_valid_response (clozeinlinetext_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param clozeinlinetext_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(clozeinlinetext_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_validation_alt_responses_item.php b/src/Entities/QuestionTypes/clozeinlinetext_validation_alt_responses_item.php
index a765dcf7..ae9823de 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozeinlinetext_validation_valid_response.php b/src/Entities/QuestionTypes/clozeinlinetext_validation_valid_response.php
index 84345bea..6ce6c4d3 100644
--- a/src/Entities/QuestionTypes/clozeinlinetext_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/clozeinlinetext_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozeinlinetext_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozeinlinetext_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext.php b/src/Entities/QuestionTypes/clozetext.php
index 91c209c4..7f5b529e 100644
--- a/src/Entities/QuestionTypes/clozetext.php
+++ b/src/Entities/QuestionTypes/clozetext.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -27,377 +28,449 @@ class clozetext extends BaseQuestionType {
protected $multiple_line;
protected $spellcheck;
protected $case_sensitive;
-
+
public function __construct(
- $type,
- $template
- )
- {
- $this->type = $type;
- $this->template = $template;
- }
+ $type,
+ $template
+ ) {
+ $this->type = $type;
+ $this->template = $template;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return clozetext_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return clozetext_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param clozetext_metadata $metadata \
- */
- public function set_metadata (clozetext_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param clozetext_metadata $metadata \
+ */
+ public function set_metadata(clozetext_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return clozetext_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return clozetext_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param clozetext_ui_style $ui_style \
- */
- public function set_ui_style (clozetext_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param clozetext_ui_style $ui_style \
+ */
+ public function set_ui_style(clozetext_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return clozetext_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return clozetext_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param clozetext_validation $validation \
- */
- public function set_validation (clozetext_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param clozetext_validation $validation \
+ */
+ public function set_validation(clozetext_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return clozetext_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return clozetext_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param clozetext_response_container $response_container \
- */
- public function set_response_container (clozetext_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param clozetext_response_container $response_container \
+ */
+ public function set_response_container(clozetext_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template Markup \
- * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template Markup \
+ * A string containing markup e.g. {{response}}. Which indicates points a user can drag a defined list of items to. HTML supported tags \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Character Map \
- * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
-If an Array, the character map button
- will show and display only the array of characters.
IMPORTANT The HTML doc
- ument will require a charset of utf-8: <meta charset="utf-8">
\
- * @return $character_map \
- */
- public function get_character_map() {
+ * Get Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
+ * If an Array, the character map button
+ * will show and display only the array of characters.
IMPORTANT The HTML doc
+ * ument will require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @return $character_map \
+ */
+ public function get_character_map()
+ {
return $this->character_map;
}
/**
- * Set Character Map \
- * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
-If an Array, the character map button
- will show and display only the array of characters.
IMPORTANT The HTML doc
- ument will require a charset of utf-8: <meta charset="utf-8">
\
- * @param $character_map \
- */
- public function set_character_map ($character_map) {
+ * Set Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.
+ * If an Array, the character map button
+ * will show and display only the array of characters.
IMPORTANT The HTML doc
+ * ument will require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @param $character_map \
+ */
+ public function set_character_map($character_map)
+ {
$this->character_map = $character_map;
}
/**
- * Get Maximum Length (characters) \
- * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
- ype. \
- * @return number $max_length \
- */
- public function get_max_length() {
+ * Get Maximum Length (characters) \
+ * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
+ * ype. \
+ *
+ * @return number $max_length \
+ */
+ public function get_max_length()
+ {
return $this->max_length;
}
/**
- * Set Maximum Length (characters) \
- * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
- ype. \
- * @param number $max_length \
- */
- public function set_max_length ($max_length) {
+ * Set Maximum Length (characters) \
+ * Maximum number of characters that can be entered in the field. Maximum value is 250. For longer questions use longtext t
+ * ype. \
+ *
+ * @param number $max_length \
+ */
+ public function set_max_length($max_length)
+ {
$this->max_length = $max_length;
}
/**
- * Get Multiple Line \
- * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
- text input only supporting one line responses. \
- * @return boolean $multiple_line \
- */
- public function get_multiple_line() {
+ * Get Multiple Line \
+ * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
+ * text input only supporting one line responses. \
+ *
+ * @return boolean $multiple_line \
+ */
+ public function get_multiple_line()
+ {
return $this->multiple_line;
}
/**
- * Set Multiple Line \
- * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
- text input only supporting one line responses. \
- * @param boolean $multiple_line \
- */
- public function set_multiple_line ($multiple_line) {
+ * Set Multiple Line \
+ * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
+ * text input only supporting one line responses. \
+ *
+ * @param boolean $multiple_line \
+ */
+ public function set_multiple_line($multiple_line)
+ {
$this->multiple_line = $multiple_line;
}
/**
- * Get Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @return boolean $spellcheck \
- */
- public function get_spellcheck() {
+ * Get Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @return boolean $spellcheck \
+ */
+ public function get_spellcheck()
+ {
return $this->spellcheck;
}
/**
- * Set Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @param boolean $spellcheck \
- */
- public function set_spellcheck ($spellcheck) {
+ * Set Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @param boolean $spellcheck \
+ */
+ public function set_spellcheck($spellcheck)
+ {
$this->spellcheck = $spellcheck;
}
/**
- * Get Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @return boolean $case_sensitive \
- */
- public function get_case_sensitive() {
+ * Get Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @return boolean $case_sensitive \
+ */
+ public function get_case_sensitive()
+ {
return $this->case_sensitive;
}
/**
- * Set Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @param boolean $case_sensitive \
- */
- public function set_case_sensitive ($case_sensitive) {
+ * Set Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @param boolean $case_sensitive \
+ */
+ public function set_case_sensitive($case_sensitive)
+ {
$this->case_sensitive = $case_sensitive;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/clozetext_metadata.php b/src/Entities/QuestionTypes/clozetext_metadata.php
index 095cec1b..57c6c433 100644
--- a/src/Entities/QuestionTypes/clozetext_metadata.php
+++ b/src/Entities/QuestionTypes/clozetext_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext_response_container.php b/src/Entities/QuestionTypes/clozetext_response_container.php
index bd52170b..50740788 100644
--- a/src/Entities/QuestionTypes/clozetext_response_container.php
+++ b/src/Entities/QuestionTypes/clozetext_response_container.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $placeholder;
protected $input_type;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
/**
- * Get Input type \
- * Type of input \
- * @return string $input_type \
- */
- public function get_input_type() {
+ * Get Input type \
+ * Type of input \
+ *
+ * @return string $input_type \
+ */
+ public function get_input_type()
+ {
return $this->input_type;
}
/**
- * Set Input type \
- * Type of input \
- * @param string $input_type \
- */
- public function set_input_type ($input_type) {
+ * Set Input type \
+ * Type of input \
+ *
+ * @param string $input_type \
+ */
+ public function set_input_type($input_type)
+ {
$this->input_type = $input_type;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext_response_containers_item.php b/src/Entities/QuestionTypes/clozetext_response_containers_item.php
index 6ff37228..1a025c09 100644
--- a/src/Entities/QuestionTypes/clozetext_response_containers_item.php
+++ b/src/Entities/QuestionTypes/clozetext_response_containers_item.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
protected $placeholder;
protected $input_type;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
/**
- * Get Input type \
- * Type of input \
- * @return string $input_type \
- */
- public function get_input_type() {
+ * Get Input type \
+ * Type of input \
+ *
+ * @return string $input_type \
+ */
+ public function get_input_type()
+ {
return $this->input_type;
}
/**
- * Set Input type \
- * Type of input \
- * @param string $input_type \
- */
- public function set_input_type ($input_type) {
+ * Set Input type \
+ * Type of input \
+ *
+ * @param string $input_type \
+ */
+ public function set_input_type($input_type)
+ {
$this->input_type = $input_type;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext_ui_style.php b/src/Entities/QuestionTypes/clozetext_ui_style.php
index fd6fec72..d419689e 100644
--- a/src/Entities/QuestionTypes/clozetext_ui_style.php
+++ b/src/Entities/QuestionTypes/clozetext_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext_validation.php b/src/Entities/QuestionTypes/clozetext_validation.php
index 87ba5c32..b557ec12 100644
--- a/src/Entities/QuestionTypes/clozetext_validation.php
+++ b/src/Entities/QuestionTypes/clozetext_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return clozetext_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return clozetext_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param clozetext_validation_valid_response $valid_response \
- */
- public function set_valid_response (clozetext_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param clozetext_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(clozetext_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext_validation_alt_responses_item.php b/src/Entities/QuestionTypes/clozetext_validation_alt_responses_item.php
index f110afa8..274114a0 100644
--- a/src/Entities/QuestionTypes/clozetext_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/clozetext_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/clozetext_validation_valid_response.php b/src/Entities/QuestionTypes/clozetext_validation_valid_response.php
index 57f9daab..bb6f59c6 100644
--- a/src/Entities/QuestionTypes/clozetext_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/clozetext_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class clozetext_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class clozetext_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each {{response}} in the template in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each {{response}} in the template in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/counter.php b/src/Entities/QuestionTypes/counter.php
index f1d1cf82..728602bd 100644
--- a/src/Entities/QuestionTypes/counter.php
+++ b/src/Entities/QuestionTypes/counter.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class counter extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class counter extends BaseQuestionType
+{
protected $type;
protected $metadata;
protected $length;
@@ -16,147 +17,175 @@ class counter extends BaseQuestionType {
protected $title;
protected $template;
protected $show_minutes;
-
+
public function __construct(
- $type,
- $length
- )
- {
- $this->type = $type;
- $this->length = $length;
- }
+ $type,
+ $length
+ ) {
+ $this->type = $type;
+ $this->length = $length;
+ }
/**
- * Get Feature Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Feature Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Feature Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Feature Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get metadata \
- * \
- * @return object $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return object $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param object $metadata \
- */
- public function set_metadata ($metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param object $metadata \
+ */
+ public function set_metadata($metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Length \
- * Counter length in seconds \
- * @return number $length \
- */
- public function get_length() {
+ * Get Length \
+ * Counter length in seconds \
+ *
+ * @return number $length \
+ */
+ public function get_length()
+ {
return $this->length;
}
/**
- * Set Length \
- * Counter length in seconds \
- * @param number $length \
- */
- public function set_length ($length) {
+ * Set Length \
+ * Counter length in seconds \
+ *
+ * @param number $length \
+ */
+ public function set_length($length)
+ {
$this->length = $length;
}
/**
- * Get Direction \
- * Direction for the counter to count, options: 'up', 'down' \
- * @return string $direction \
- */
- public function get_direction() {
+ * Get Direction \
+ * Direction for the counter to count, options: 'up', 'down' \
+ *
+ * @return string $direction \
+ */
+ public function get_direction()
+ {
return $this->direction;
}
/**
- * Set Direction \
- * Direction for the counter to count, options: 'up', 'down' \
- * @param string $direction \
- */
- public function set_direction ($direction) {
+ * Set Direction \
+ * Direction for the counter to count, options: 'up', 'down' \
+ *
+ * @param string $direction \
+ */
+ public function set_direction($direction)
+ {
$this->direction = $direction;
}
/**
- * Get Title \
- * Title visible on the counter UI \
- * @return string $title \
- */
- public function get_title() {
+ * Get Title \
+ * Title visible on the counter UI \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Title \
- * Title visible on the counter UI \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Title \
+ * Title visible on the counter UI \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Template \
- * Counter text content, {num} denotes the location of the counter number \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * Counter text content, {num} denotes the location of the counter number \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * Counter text content, {num} denotes the location of the counter number \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * Counter text content, {num} denotes the location of the counter number \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Show Minutes? \
- * Determines the display format for the counter. If true then the format is mm:ss, if false only the seconds are displayed
- . \
- * @return boolean $show_minutes \
- */
- public function get_show_minutes() {
+ * Get Show Minutes? \
+ * Determines the display format for the counter. If true then the format is mm:ss, if false only the seconds are displayed
+ * . \
+ *
+ * @return boolean $show_minutes \
+ */
+ public function get_show_minutes()
+ {
return $this->show_minutes;
}
/**
- * Set Show Minutes? \
- * Determines the display format for the counter. If true then the format is mm:ss, if false only the seconds are displayed
- . \
- * @param boolean $show_minutes \
- */
- public function set_show_minutes ($show_minutes) {
+ * Set Show Minutes? \
+ * Determines the display format for the counter. If true then the format is mm:ss, if false only the seconds are displayed
+ * . \
+ *
+ * @param boolean $show_minutes \
+ */
+ public function set_show_minutes($show_minutes)
+ {
$this->show_minutes = $show_minutes;
}
-
- public function get_widget_type() {
- return 'feature';
+
+ public function get_widget_type()
+ {
+ return 'feature';
}
}
diff --git a/src/Entities/QuestionTypes/custom.php b/src/Entities/QuestionTypes/custom.php
index 41c63448..fdeb5fb4 100644
--- a/src/Entities/QuestionTypes/custom.php
+++ b/src/Entities/QuestionTypes/custom.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class custom extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class custom extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -19,213 +20,253 @@ class custom extends BaseQuestionType {
protected $js;
protected $css;
protected $version;
-
+
public function __construct(
- $type,
- $custom_type,
- $js,
- $version
- )
- {
- $this->type = $type;
- $this->custom_type = $custom_type;
- $this->js = $js;
- $this->version = $version;
- }
-
- /**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ $type,
+ $custom_type,
+ $js,
+ $version
+ ) {
+ $this->type = $type;
+ $this->custom_type = $custom_type;
+ $this->js = $js;
+ $this->version = $version;
+ }
+
+ /**
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return custom_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return custom_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param custom_metadata $metadata \
- */
- public function set_metadata (custom_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param custom_metadata $metadata \
+ */
+ public function set_metadata(custom_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return custom_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return custom_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param custom_ui_style $ui_style \
- */
- public function set_ui_style (custom_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param custom_ui_style $ui_style \
+ */
+ public function set_ui_style(custom_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Custom type \
- * A key that identifies this custom type. \
- * @return string $custom_type \
- */
- public function get_custom_type() {
+ * Get Custom type \
+ * A key that identifies this custom type. \
+ *
+ * @return string $custom_type \
+ */
+ public function get_custom_type()
+ {
return $this->custom_type;
}
/**
- * Set Custom type \
- * A key that identifies this custom type. \
- * @param string $custom_type \
- */
- public function set_custom_type ($custom_type) {
+ * Set Custom type \
+ * A key that identifies this custom type. \
+ *
+ * @param string $custom_type \
+ */
+ public function set_custom_type($custom_type)
+ {
$this->custom_type = $custom_type;
}
/**
- * Get JavaScript file \
- * A URL to a JavaScript file which defines an AMD module for the question. See this knowledgebase article for more information. \
- * @return string $js \
- */
- public function get_js() {
+ * Get JavaScript file \
+ * A URL to a JavaScript file which defines an AMD module for the question. See this knowledgebase article for more information. \
+ *
+ * @return string $js \
+ */
+ public function get_js()
+ {
return $this->js;
}
/**
- * Set JavaScript file \
- * A URL to a JavaScript file which defines an AMD module for the question. See this knowledgebase article for more information. \
- * @param string $js \
- */
- public function set_js ($js) {
+ * Set JavaScript file \
+ * A URL to a JavaScript file which defines an AMD module for the question. See this knowledgebase article for more information. \
+ *
+ * @param string $js \
+ */
+ public function set_js($js)
+ {
$this->js = $js;
}
/**
- * Get CSS file \
- * A URL to a CSS file containing styles for the question. \
- * @return string $css \
- */
- public function get_css() {
+ * Get CSS file \
+ * A URL to a CSS file containing styles for the question. \
+ *
+ * @return string $css \
+ */
+ public function get_css()
+ {
return $this->css;
}
/**
- * Set CSS file \
- * A URL to a CSS file containing styles for the question. \
- * @param string $css \
- */
- public function set_css ($css) {
+ * Set CSS file \
+ * A URL to a CSS file containing styles for the question. \
+ *
+ * @param string $css \
+ */
+ public function set_css($css)
+ {
$this->css = $css;
}
/**
- * Get Version \
- * A number that identifies the version of the question e.g. v0.1.0. \
- * @return string $version \
- */
- public function get_version() {
+ * Get Version \
+ * A number that identifies the version of the question e.g. v0.1.0. \
+ *
+ * @return string $version \
+ */
+ public function get_version()
+ {
return $this->version;
}
/**
- * Set Version \
- * A number that identifies the version of the question e.g. v0.1.0. \
- * @param string $version \
- */
- public function set_version ($version) {
+ * Set Version \
+ * A number that identifies the version of the question e.g. v0.1.0. \
+ *
+ * @param string $version \
+ */
+ public function set_version($version)
+ {
$this->version = $version;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/custom_metadata.php b/src/Entities/QuestionTypes/custom_metadata.php
index eb99b1af..af8fbf51 100644
--- a/src/Entities/QuestionTypes/custom_metadata.php
+++ b/src/Entities/QuestionTypes/custom_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class custom_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class custom_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/custom_ui_style.php b/src/Entities/QuestionTypes/custom_ui_style.php
index 2b977cfc..2c468848 100644
--- a/src/Entities/QuestionTypes/custom_ui_style.php
+++ b/src/Entities/QuestionTypes/custom_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class custom_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class custom_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula.php b/src/Entities/QuestionTypes/formula.php
index e3020003..fdaa9799 100644
--- a/src/Entities/QuestionTypes/formula.php
+++ b/src/Entities/QuestionTypes/formula.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -23,283 +24,339 @@ class formula extends BaseQuestionType {
protected $symbols_keyboard;
protected $response_container;
protected $response_containers;
-
+
public function __construct(
- $type
- )
- {
- $this->type = $type;
- }
+ $type
+ ) {
+ $this->type = $type;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return formula_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return formula_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param formula_metadata $metadata \
- */
- public function set_metadata (formula_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param formula_metadata $metadata \
+ */
+ public function set_metadata(formula_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return formula_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return formula_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param formula_ui_style $ui_style \
- */
- public function set_ui_style (formula_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param formula_ui_style $ui_style \
+ */
+ public function set_ui_style(formula_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return formula_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return formula_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param formula_validation $validation \
- */
- public function set_validation (formula_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param formula_validation $validation \
+ */
+ public function set_validation(formula_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @return string $template \
- */
- public function get_template() {
+ * Get Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Math symbols \
- * Custom symbols to appear in the math symbol toolbars (or keyboard on touch devices). The first item in each group is vis
- ible in the main toolbar. On hover, the other items are shown in a sub-toolbar. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Math symbols \
+ * Custom symbols to appear in the math symbol toolbars (or keyboard on touch devices). The first item in each group is vis
+ * ible in the main toolbar. On hover, the other items are shown in a sub-toolbar. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Math symbols \
- * Custom symbols to appear in the math symbol toolbars (or keyboard on touch devices). The first item in each group is vis
- ible in the main toolbar. On hover, the other items are shown in a sub-toolbar. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Math symbols \
+ * Custom symbols to appear in the math symbol toolbars (or keyboard on touch devices). The first item in each group is vis
+ * ible in the main toolbar. On hover, the other items are shown in a sub-toolbar. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
/**
- * Get Math symbols (keyboard) \
- * Custom symbols to appear in the math symbols keyboard on touch devices. \
- * @return array $symbols_keyboard \
- */
- public function get_symbols_keyboard() {
+ * Get Math symbols (keyboard) \
+ * Custom symbols to appear in the math symbols keyboard on touch devices. \
+ *
+ * @return array $symbols_keyboard \
+ */
+ public function get_symbols_keyboard()
+ {
return $this->symbols_keyboard;
}
/**
- * Set Math symbols (keyboard) \
- * Custom symbols to appear in the math symbols keyboard on touch devices. \
- * @param array $symbols_keyboard \
- */
- public function set_symbols_keyboard (array $symbols_keyboard) {
+ * Set Math symbols (keyboard) \
+ * Custom symbols to appear in the math symbols keyboard on touch devices. \
+ *
+ * @param array $symbols_keyboard \
+ */
+ public function set_symbols_keyboard(array $symbols_keyboard)
+ {
$this->symbols_keyboard = $symbols_keyboard;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return formula_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return formula_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param formula_response_container $response_container \
- */
- public function set_response_container (formula_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param formula_response_container $response_container \
+ */
+ public function set_response_container(formula_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/formulaV2.php b/src/Entities/QuestionTypes/formulaV2.php
index 91ad9eba..1b3ef683 100644
--- a/src/Entities/QuestionTypes/formulaV2.php
+++ b/src/Entities/QuestionTypes/formulaV2.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2 extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2 extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -26,339 +27,407 @@ class formulaV2 extends BaseQuestionType {
protected $symbols;
protected $response_container;
protected $response_containers;
-
+
public function __construct(
- $type,
- formulaV2_ui_style $ui_style
- )
- {
- $this->type = $type;
- $this->ui_style = $ui_style;
- }
+ $type,
+ formulaV2_ui_style $ui_style
+ ) {
+ $this->type = $type;
+ $this->ui_style = $ui_style;
+ }
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return formulaV2_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return formulaV2_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param formulaV2_metadata $metadata \
- */
- public function set_metadata (formulaV2_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param formulaV2_metadata $metadata \
+ */
+ public function set_metadata(formulaV2_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return formulaV2_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return formulaV2_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param formulaV2_ui_style $ui_style \
- */
- public function set_ui_style (formulaV2_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param formulaV2_ui_style $ui_style \
+ */
+ public function set_ui_style(formulaV2_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return formulaV2_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return formulaV2_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param formulaV2_validation $validation \
- */
- public function set_validation (formulaV2_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param formulaV2_validation $validation \
+ */
+ public function set_validation(formulaV2_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @return string $template \
- */
- public function get_template() {
+ * Get Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return formulaV2_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return formulaV2_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param formulaV2_response_container $response_container \
- */
- public function set_response_container (formulaV2_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param formulaV2_response_container $response_container \
+ */
+ public function set_response_container(formulaV2_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/formulaV2_metadata.php b/src/Entities/QuestionTypes/formulaV2_metadata.php
index 0189bc9c..9cd9b0b1 100644
--- a/src/Entities/QuestionTypes/formulaV2_metadata.php
+++ b/src/Entities/QuestionTypes/formulaV2_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_response_container.php b/src/Entities/QuestionTypes/formulaV2_response_container.php
index 287b8ca7..22b297cf 100644
--- a/src/Entities/QuestionTypes/formulaV2_response_container.php
+++ b/src/Entities/QuestionTypes/formulaV2_response_container.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_response_containers_item.php b/src/Entities/QuestionTypes/formulaV2_response_containers_item.php
index 1d4363cf..2620eb21 100644
--- a/src/Entities/QuestionTypes/formulaV2_response_containers_item.php
+++ b/src/Entities/QuestionTypes/formulaV2_response_containers_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_ui_style.php b/src/Entities/QuestionTypes/formulaV2_ui_style.php
index 5e69f003..17902915 100644
--- a/src/Entities/QuestionTypes/formulaV2_ui_style.php
+++ b/src/Entities/QuestionTypes/formulaV2_ui_style.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $transparent_background;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Transparent background \
- * Determines whether the area housing nested response areas should be transparent \
- * @return boolean $transparent_background \
- */
- public function get_transparent_background() {
+ * Get Transparent background \
+ * Determines whether the area housing nested response areas should be transparent \
+ *
+ * @return boolean $transparent_background \
+ */
+ public function get_transparent_background()
+ {
return $this->transparent_background;
}
/**
- * Set Transparent background \
- * Determines whether the area housing nested response areas should be transparent \
- * @param boolean $transparent_background \
- */
- public function set_transparent_background ($transparent_background) {
+ * Set Transparent background \
+ * Determines whether the area housing nested response areas should be transparent \
+ *
+ * @param boolean $transparent_background \
+ */
+ public function set_transparent_background($transparent_background)
+ {
$this->transparent_background = $transparent_background;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_validation.php b/src/Entities/QuestionTypes/formulaV2_validation.php
index 8c6b2db7..f516d163 100644
--- a/src/Entities/QuestionTypes/formulaV2_validation.php
+++ b/src/Entities/QuestionTypes/formulaV2_validation.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return formulaV2_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return formulaV2_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param formulaV2_validation_valid_response $valid_response \
- */
- public function set_valid_response (formulaV2_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param formulaV2_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(formulaV2_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item.php b/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item.php
index 1430df51..54d90bb4 100644
--- a/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item_value_item.php b/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item_value_item.php
index c32cd361..f2fd1b8f 100644
--- a/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item_value_item.php
+++ b/src/Entities/QuestionTypes/formulaV2_validation_alt_responses_item_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_validation_valid_response.php b/src/Entities/QuestionTypes/formulaV2_validation_valid_response.php
index 6755b368..6eaa214f 100644
--- a/src/Entities/QuestionTypes/formulaV2_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/formulaV2_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaV2_validation_valid_response_value_item.php b/src/Entities/QuestionTypes/formulaV2_validation_valid_response_value_item.php
index a0a6eb4d..8bef05be 100644
--- a/src/Entities/QuestionTypes/formulaV2_validation_valid_response_value_item.php
+++ b/src/Entities/QuestionTypes/formulaV2_validation_valid_response_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaV2_validation_valid_response_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaV2_validation_valid_response_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev.php b/src/Entities/QuestionTypes/formula_dev.php
index 62442043..88bcee6a 100644
--- a/src/Entities/QuestionTypes/formula_dev.php
+++ b/src/Entities/QuestionTypes/formula_dev.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -26,339 +27,407 @@ class formula_dev extends BaseQuestionType {
protected $symbols;
protected $response_container;
protected $response_containers;
-
+
public function __construct(
- $type,
- formula_dev_ui_style $ui_style
- )
- {
- $this->type = $type;
- $this->ui_style = $ui_style;
- }
+ $type,
+ formula_dev_ui_style $ui_style
+ ) {
+ $this->type = $type;
+ $this->ui_style = $ui_style;
+ }
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return formula_dev_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return formula_dev_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param formula_dev_metadata $metadata \
- */
- public function set_metadata (formula_dev_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param formula_dev_metadata $metadata \
+ */
+ public function set_metadata(formula_dev_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return formula_dev_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return formula_dev_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param formula_dev_ui_style $ui_style \
- */
- public function set_ui_style (formula_dev_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param formula_dev_ui_style $ui_style \
+ */
+ public function set_ui_style(formula_dev_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return formula_dev_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return formula_dev_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param formula_dev_validation $validation \
- */
- public function set_validation (formula_dev_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param formula_dev_validation $validation \
+ */
+ public function set_validation(formula_dev_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @return string $template \
- */
- public function get_template() {
+ * Get Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Latex / Template Markup \
- * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
- If present, only the {{response}} areas will be editable. \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Latex / Template Markup \
+ * A string containing latex math to be rendered on initialisation. The template markup tag {{response}} is also supported.
+ * If present, only the {{response}} areas will be editable. \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return formula_dev_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return formula_dev_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param formula_dev_response_container $response_container \
- */
- public function set_response_container (formula_dev_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param formula_dev_response_container $response_container \
+ */
+ public function set_response_container(formula_dev_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/formula_dev_metadata.php b/src/Entities/QuestionTypes/formula_dev_metadata.php
index 0b58cf09..93ea1403 100644
--- a/src/Entities/QuestionTypes/formula_dev_metadata.php
+++ b/src/Entities/QuestionTypes/formula_dev_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_response_container.php b/src/Entities/QuestionTypes/formula_dev_response_container.php
index 908c316f..b55975a6 100644
--- a/src/Entities/QuestionTypes/formula_dev_response_container.php
+++ b/src/Entities/QuestionTypes/formula_dev_response_container.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_response_containers_item.php b/src/Entities/QuestionTypes/formula_dev_response_containers_item.php
index 91df9262..c71cd6fd 100644
--- a/src/Entities/QuestionTypes/formula_dev_response_containers_item.php
+++ b/src/Entities/QuestionTypes/formula_dev_response_containers_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_ui_style.php b/src/Entities/QuestionTypes/formula_dev_ui_style.php
index cd0ce543..0f9ed3d0 100644
--- a/src/Entities/QuestionTypes/formula_dev_ui_style.php
+++ b/src/Entities/QuestionTypes/formula_dev_ui_style.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $transparent_background;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Transparent background \
- * Determines whether the area housing nested response areas should be transparent \
- * @return boolean $transparent_background \
- */
- public function get_transparent_background() {
+ * Get Transparent background \
+ * Determines whether the area housing nested response areas should be transparent \
+ *
+ * @return boolean $transparent_background \
+ */
+ public function get_transparent_background()
+ {
return $this->transparent_background;
}
/**
- * Set Transparent background \
- * Determines whether the area housing nested response areas should be transparent \
- * @param boolean $transparent_background \
- */
- public function set_transparent_background ($transparent_background) {
+ * Set Transparent background \
+ * Determines whether the area housing nested response areas should be transparent \
+ *
+ * @param boolean $transparent_background \
+ */
+ public function set_transparent_background($transparent_background)
+ {
$this->transparent_background = $transparent_background;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_validation.php b/src/Entities/QuestionTypes/formula_dev_validation.php
index 98058251..a941d726 100644
--- a/src/Entities/QuestionTypes/formula_dev_validation.php
+++ b/src/Entities/QuestionTypes/formula_dev_validation.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return formula_dev_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return formula_dev_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param formula_dev_validation_valid_response $valid_response \
- */
- public function set_valid_response (formula_dev_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param formula_dev_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(formula_dev_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item.php b/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item.php
index ed2c55c6..d9ab6d99 100644
--- a/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item_value_item.php b/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item_value_item.php
index dd806718..7640ffea 100644
--- a/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item_value_item.php
+++ b/src/Entities/QuestionTypes/formula_dev_validation_alt_responses_item_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_validation_valid_response.php b/src/Entities/QuestionTypes/formula_dev_validation_valid_response.php
index cbfca35e..4f74cfad 100644
--- a/src/Entities/QuestionTypes/formula_dev_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/formula_dev_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_dev_validation_valid_response_value_item.php b/src/Entities/QuestionTypes/formula_dev_validation_valid_response_value_item.php
index 4c206f8d..c9c45d3f 100644
--- a/src/Entities/QuestionTypes/formula_dev_validation_valid_response_value_item.php
+++ b/src/Entities/QuestionTypes/formula_dev_validation_valid_response_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_dev_validation_valid_response_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_dev_validation_valid_response_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_metadata.php b/src/Entities/QuestionTypes/formula_metadata.php
index 1507727a..e5a353fc 100644
--- a/src/Entities/QuestionTypes/formula_metadata.php
+++ b/src/Entities/QuestionTypes/formula_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_response_container.php b/src/Entities/QuestionTypes/formula_response_container.php
index 9a3778ed..18560b8d 100644
--- a/src/Entities/QuestionTypes/formula_response_container.php
+++ b/src/Entities/QuestionTypes/formula_response_container.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_response_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_response_containers_item.php b/src/Entities/QuestionTypes/formula_response_containers_item.php
index 699364dd..80bfa595 100644
--- a/src/Entities/QuestionTypes/formula_response_containers_item.php
+++ b/src/Entities/QuestionTypes/formula_response_containers_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_symbols_item.php b/src/Entities/QuestionTypes/formula_symbols_item.php
index f96f615a..49dccb7e 100644
--- a/src/Entities/QuestionTypes/formula_symbols_item.php
+++ b/src/Entities/QuestionTypes/formula_symbols_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_symbols_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_symbols_item extends BaseQuestionTypeAttribute
+{
protected $symbol;
protected $group;
protected $title;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Symbol \
- * Latex symbol \
- * @return string $symbol \
- */
- public function get_symbol() {
+ * Get Symbol \
+ * Latex symbol \
+ *
+ * @return string $symbol \
+ */
+ public function get_symbol()
+ {
return $this->symbol;
}
/**
- * Set Symbol \
- * Latex symbol \
- * @param string $symbol \
- */
- public function set_symbol ($symbol) {
+ * Set Symbol \
+ * Latex symbol \
+ *
+ * @param string $symbol \
+ */
+ public function set_symbol($symbol)
+ {
$this->symbol = $symbol;
}
/**
- * Get Group \
- * Determines which toolbar the symbol appears in \
- * @return string $group \
- */
- public function get_group() {
+ * Get Group \
+ * Determines which toolbar the symbol appears in \
+ *
+ * @return string $group \
+ */
+ public function get_group()
+ {
return $this->group;
}
/**
- * Set Group \
- * Determines which toolbar the symbol appears in \
- * @param string $group \
- */
- public function set_group ($group) {
+ * Set Group \
+ * Determines which toolbar the symbol appears in \
+ *
+ * @param string $group \
+ */
+ public function set_group($group)
+ {
$this->group = $group;
}
/**
- * Get Title \
- * Symbol title (optional) \
- * @return string $title \
- */
- public function get_title() {
+ * Get Title \
+ * Symbol title (optional) \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Title \
- * Symbol title (optional) \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Title \
+ * Symbol title (optional) \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_symbols_keyboard_item.php b/src/Entities/QuestionTypes/formula_symbols_keyboard_item.php
index 8b6b95de..0c1553bd 100644
--- a/src/Entities/QuestionTypes/formula_symbols_keyboard_item.php
+++ b/src/Entities/QuestionTypes/formula_symbols_keyboard_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_symbols_keyboard_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_symbols_keyboard_item extends BaseQuestionTypeAttribute
+{
protected $symbol;
protected $title;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Symbol \
- * Latex symbol \
- * @return string $symbol \
- */
- public function get_symbol() {
+ * Get Symbol \
+ * Latex symbol \
+ *
+ * @return string $symbol \
+ */
+ public function get_symbol()
+ {
return $this->symbol;
}
/**
- * Set Symbol \
- * Latex symbol \
- * @param string $symbol \
- */
- public function set_symbol ($symbol) {
+ * Set Symbol \
+ * Latex symbol \
+ *
+ * @param string $symbol \
+ */
+ public function set_symbol($symbol)
+ {
$this->symbol = $symbol;
}
/**
- * Get Title \
- * Symbol title (optional) \
- * @return string $title \
- */
- public function get_title() {
+ * Get Title \
+ * Symbol title (optional) \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Title \
- * Symbol title (optional) \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Title \
+ * Symbol title (optional) \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_ui_style.php b/src/Entities/QuestionTypes/formula_ui_style.php
index b337be94..517956fc 100644
--- a/src/Entities/QuestionTypes/formula_ui_style.php
+++ b/src/Entities/QuestionTypes/formula_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_validation.php b/src/Entities/QuestionTypes/formula_validation.php
index 0d1add3b..8c12c414 100644
--- a/src/Entities/QuestionTypes/formula_validation.php
+++ b/src/Entities/QuestionTypes/formula_validation.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return formula_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return formula_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param formula_validation_valid_response $valid_response \
- */
- public function set_valid_response (formula_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param formula_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(formula_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_validation_alt_responses_item.php b/src/Entities/QuestionTypes/formula_validation_alt_responses_item.php
index 73964351..e3ea60eb 100644
--- a/src/Entities/QuestionTypes/formula_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/formula_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_validation_alt_responses_item_value_item.php b/src/Entities/QuestionTypes/formula_validation_alt_responses_item_value_item.php
index be0f007d..a7ccba98 100644
--- a/src/Entities/QuestionTypes/formula_validation_alt_responses_item_value_item.php
+++ b/src/Entities/QuestionTypes/formula_validation_alt_responses_item_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_validation_alt_responses_item_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_validation_valid_response.php b/src/Entities/QuestionTypes/formula_validation_valid_response.php
index 622cb2aa..a61074e0 100644
--- a/src/Entities/QuestionTypes/formula_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/formula_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array of objects containing the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array of objects containing the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array of objects containing the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array of objects containing the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formula_validation_valid_response_value_item.php b/src/Entities/QuestionTypes/formula_validation_valid_response_value_item.php
index 6535dda2..497be2fc 100644
--- a/src/Entities/QuestionTypes/formula_validation_valid_response_value_item.php
+++ b/src/Entities/QuestionTypes/formula_validation_valid_response_value_item.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formula_validation_valid_response_value_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formula_validation_valid_response_value_item extends BaseQuestionTypeAttribute
+{
protected $method;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Method \
- * The method used to compare user input against the valid response value. \
- * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function get_method() {
+ * Get Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @return string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function get_method()
+ {
return $this->method;
}
/**
- * Set Method \
- * The method used to compare user input against the valid response value. \
- * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
- */
- public function set_method ($method) {
+ * Set Method \
+ * The method used to compare user input against the valid response value. \
+ *
+ * @param string $method ie. equivSymbolic, equivLiteral, equivValue, isSimplified, isFactorised, isExpanded, isUnit, isTrue, stringMatch, equivSyntax \
+ */
+ public function set_method($method)
+ {
$this->method = $method;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaessay.php b/src/Entities/QuestionTypes/formulaessay.php
index c243629e..4c73b872 100644
--- a/src/Entities/QuestionTypes/formulaessay.php
+++ b/src/Entities/QuestionTypes/formulaessay.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaessay extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaessay extends BaseQuestionType
+{
protected $handwriting_recognises;
protected $is_math;
protected $metadata;
@@ -21,245 +22,293 @@ class formulaessay extends BaseQuestionType {
protected $showHints;
protected $numberPad;
protected $symbols;
-
+
public function __construct(
- $type,
- formulaessay_ui_style $ui_style
- )
- {
- $this->type = $type;
- $this->ui_style = $ui_style;
- }
+ $type,
+ formulaessay_ui_style $ui_style
+ ) {
+ $this->type = $type;
+ $this->ui_style = $ui_style;
+ }
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return formulaessay_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return formulaessay_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param formulaessay_metadata $metadata \
- */
- public function set_metadata (formulaessay_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param formulaessay_metadata $metadata \
+ */
+ public function set_metadata(formulaessay_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return formulaessay_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return formulaessay_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param formulaessay_ui_style $ui_style \
- */
- public function set_ui_style (formulaessay_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param formulaessay_ui_style $ui_style \
+ */
+ public function set_ui_style(formulaessay_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @return formulaessay_validation $validation \
- */
- public function get_validation() {
+ * Get Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @return formulaessay_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @param formulaessay_validation $validation \
- */
- public function set_validation (formulaessay_validation $validation) {
+ * Set Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @param formulaessay_validation $validation \
+ */
+ public function set_validation(formulaessay_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/formulaessay_metadata.php b/src/Entities/QuestionTypes/formulaessay_metadata.php
index 3d3e93ce..b7930da8 100644
--- a/src/Entities/QuestionTypes/formulaessay_metadata.php
+++ b/src/Entities/QuestionTypes/formulaessay_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaessay_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaessay_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaessay_ui_style.php b/src/Entities/QuestionTypes/formulaessay_ui_style.php
index 0a143811..b69d2491 100644
--- a/src/Entities/QuestionTypes/formulaessay_ui_style.php
+++ b/src/Entities/QuestionTypes/formulaessay_ui_style.php
@@ -5,132 +5,156 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaessay_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaessay_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $response_font_scale;
protected $default_mode;
protected $max_lines;
protected $text_formatting_options;
protected $keyboard_below_response_area;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Default mode \
- * The default mode of the first line when question is first focused \
- * @return string $default_mode \
- */
- public function get_default_mode() {
+ * Get Default mode \
+ * The default mode of the first line when question is first focused \
+ *
+ * @return string $default_mode \
+ */
+ public function get_default_mode()
+ {
return $this->default_mode;
}
/**
- * Set Default mode \
- * The default mode of the first line when question is first focused \
- * @param string $default_mode \
- */
- public function set_default_mode ($default_mode) {
+ * Set Default mode \
+ * The default mode of the first line when question is first focused \
+ *
+ * @param string $default_mode \
+ */
+ public function set_default_mode($default_mode)
+ {
$this->default_mode = $default_mode;
}
/**
- * Get Maximum lines \
- * Limits the number of lines of text / math that can be entered. \
- * @return number $max_lines \
- */
- public function get_max_lines() {
+ * Get Maximum lines \
+ * Limits the number of lines of text / math that can be entered. \
+ *
+ * @return number $max_lines \
+ */
+ public function get_max_lines()
+ {
return $this->max_lines;
}
/**
- * Set Maximum lines \
- * Limits the number of lines of text / math that can be entered. \
- * @param number $max_lines \
- */
- public function set_max_lines ($max_lines) {
+ * Set Maximum lines \
+ * Limits the number of lines of text / math that can be entered. \
+ *
+ * @param number $max_lines \
+ */
+ public function set_max_lines($max_lines)
+ {
$this->max_lines = $max_lines;
}
/**
- * Get Text Formatting Options \
- * An array containing strings of text formatting options to make available. \
- * @return array $text_formatting_options \
- */
- public function get_text_formatting_options() {
+ * Get Text Formatting Options \
+ * An array containing strings of text formatting options to make available. \
+ *
+ * @return array $text_formatting_options \
+ */
+ public function get_text_formatting_options()
+ {
return $this->text_formatting_options;
}
/**
- * Set Text Formatting Options \
- * An array containing strings of text formatting options to make available. \
- * @param array $text_formatting_options \
- */
- public function set_text_formatting_options (array $text_formatting_options) {
+ * Set Text Formatting Options \
+ * An array containing strings of text formatting options to make available. \
+ *
+ * @param array $text_formatting_options \
+ */
+ public function set_text_formatting_options(array $text_formatting_options)
+ {
$this->text_formatting_options = $text_formatting_options;
}
/**
- * Get Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @return boolean $keyboard_below_response_area \
- */
- public function get_keyboard_below_response_area() {
+ * Get Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @return boolean $keyboard_below_response_area \
+ */
+ public function get_keyboard_below_response_area()
+ {
return $this->keyboard_below_response_area;
}
/**
- * Set Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @param boolean $keyboard_below_response_area \
- */
- public function set_keyboard_below_response_area ($keyboard_below_response_area) {
+ * Set Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @param boolean $keyboard_below_response_area \
+ */
+ public function set_keyboard_below_response_area($keyboard_below_response_area)
+ {
$this->keyboard_below_response_area = $keyboard_below_response_area;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulaessay_validation.php b/src/Entities/QuestionTypes/formulaessay_validation.php
index d5adc0d7..d5949ba9 100644
--- a/src/Entities/QuestionTypes/formulaessay_validation.php
+++ b/src/Entities/QuestionTypes/formulaessay_validation.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulaessay_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulaessay_validation extends BaseQuestionTypeAttribute
+{
protected $max_score;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Max Score \
- * The highest score a marker can award to this question response. \
- * @return number $max_score \
- */
- public function get_max_score() {
+ * Get Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @return number $max_score \
+ */
+ public function get_max_score()
+ {
return $this->max_score;
}
/**
- * Set Max Score \
- * The highest score a marker can award to this question response. \
- * @param number $max_score \
- */
- public function set_max_score ($max_score) {
+ * Set Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @param number $max_score \
+ */
+ public function set_max_score($max_score)
+ {
$this->max_score = $max_score;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulainput.php b/src/Entities/QuestionTypes/formulainput.php
index f95817ff..31293a3f 100644
--- a/src/Entities/QuestionTypes/formulainput.php
+++ b/src/Entities/QuestionTypes/formulainput.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulainput extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulainput extends BaseQuestionType
+{
protected $type;
protected $metadata;
protected $handwriting_recognises;
@@ -18,181 +19,217 @@ class formulainput extends BaseQuestionType {
protected $container;
protected $ui_style;
protected $input;
-
+
public function __construct(
- $type,
- formulainput_ui_style $ui_style
- )
- {
- $this->type = $type;
- $this->ui_style = $ui_style;
- }
+ $type,
+ formulainput_ui_style $ui_style
+ ) {
+ $this->type = $type;
+ $this->ui_style = $ui_style;
+ }
/**
- * Get Feature Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Feature Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Feature Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Feature Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get metadata \
- * \
- * @return object $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return object $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param object $metadata \
- */
- public function set_metadata ($metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param object $metadata \
+ */
+ public function set_metadata($metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Show Hints \
- * Whether to show hints or not \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Whether to show hints or not \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Whether to show hints or not \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Whether to show hints or not \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Initial Value \
- * LaTeX math to display when rendered. \
- * @return string $value \
- */
- public function get_value() {
+ * Get Initial Value \
+ * LaTeX math to display when rendered. \
+ *
+ * @return string $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Initial Value \
- * LaTeX math to display when rendered. \
- * @param string $value \
- */
- public function set_value ($value) {
+ * Set Initial Value \
+ * LaTeX math to display when rendered. \
+ *
+ * @param string $value \
+ */
+ public function set_value($value)
+ {
$this->value = $value;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
/**
- * Get Container (global) \
- * Object that defines styles for the input container. \
- * @return formulainput_container $container \
- */
- public function get_container() {
+ * Get Container (global) \
+ * Object that defines styles for the input container. \
+ *
+ * @return formulainput_container $container \
+ */
+ public function get_container()
+ {
return $this->container;
}
/**
- * Set Container (global) \
- * Object that defines styles for the input container. \
- * @param formulainput_container $container \
- */
- public function set_container (formulainput_container $container) {
+ * Set Container (global) \
+ * Object that defines styles for the input container. \
+ *
+ * @param formulainput_container $container \
+ */
+ public function set_container(formulainput_container $container)
+ {
$this->container = $container;
}
/**
- * Get UI Style \
- * Object used to control different aspects of the UI \
- * @return formulainput_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get UI Style \
+ * Object used to control different aspects of the UI \
+ *
+ * @return formulainput_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set UI Style \
- * Object used to control different aspects of the UI \
- * @param formulainput_ui_style $ui_style \
- */
- public function set_ui_style (formulainput_ui_style $ui_style) {
+ * Set UI Style \
+ * Object used to control different aspects of the UI \
+ *
+ * @param formulainput_ui_style $ui_style \
+ */
+ public function set_ui_style(formulainput_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Input selector \
- * CSS selector for input elements which will receive the entered LaTeX math. \
- * @return string $input \
- */
- public function get_input() {
+ * Get Input selector \
+ * CSS selector for input elements which will receive the entered LaTeX math. \
+ *
+ * @return string $input \
+ */
+ public function get_input()
+ {
return $this->input;
}
/**
- * Set Input selector \
- * CSS selector for input elements which will receive the entered LaTeX math. \
- * @param string $input \
- */
- public function set_input ($input) {
+ * Set Input selector \
+ * CSS selector for input elements which will receive the entered LaTeX math. \
+ *
+ * @param string $input \
+ */
+ public function set_input($input)
+ {
$this->input = $input;
}
-
- public function get_widget_type() {
- return 'feature';
+
+ public function get_widget_type()
+ {
+ return 'feature';
}
}
diff --git a/src/Entities/QuestionTypes/formulainput_container.php b/src/Entities/QuestionTypes/formulainput_container.php
index fdf9d595..2b1a172a 100644
--- a/src/Entities/QuestionTypes/formulainput_container.php
+++ b/src/Entities/QuestionTypes/formulainput_container.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulainput_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulainput_container extends BaseQuestionTypeAttribute
+{
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Input height \
- * The height of the input containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Input height \
+ * The height of the input containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Input height \
- * The height of the input containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Input height \
+ * The height of the input containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Input width \
- * The width of the input containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Input width \
+ * The width of the input containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Input width \
- * The width of the input containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Input width \
+ * The width of the input containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/formulainput_ui_style.php b/src/Entities/QuestionTypes/formulainput_ui_style.php
index 95f65c89..2cf1e247 100644
--- a/src/Entities/QuestionTypes/formulainput_ui_style.php
+++ b/src/Entities/QuestionTypes/formulainput_ui_style.php
@@ -5,56 +5,64 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class formulainput_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class formulainput_ui_style extends BaseQuestionTypeAttribute
+{
protected $type;
protected $min_width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Input minimum width \
- * Controls the minimum width of the input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Input minimum width \
+ * Controls the minimum width of the input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Input minimum width \
- * Controls the minimum width of the input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Input minimum width \
+ * Controls the minimum width of the input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting.php b/src/Entities/QuestionTypes/graphplotting.php
index f4f00417..db37bd13 100644
--- a/src/Entities/QuestionTypes/graphplotting.php
+++ b/src/Entities/QuestionTypes/graphplotting.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -30,413 +31,497 @@ class graphplotting extends BaseQuestionType {
protected $background_image;
protected $display_points;
protected $background_shapes;
-
+
public function __construct(
- $type
- )
- {
- $this->type = $type;
- }
+ $type
+ ) {
+ $this->type = $type;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return graphplotting_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return graphplotting_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param graphplotting_metadata $metadata \
- */
- public function set_metadata (graphplotting_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param graphplotting_metadata $metadata \
+ */
+ public function set_metadata(graphplotting_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return graphplotting_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return graphplotting_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param graphplotting_ui_style $ui_style \
- */
- public function set_ui_style (graphplotting_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param graphplotting_ui_style $ui_style \
+ */
+ public function set_ui_style(graphplotting_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return graphplotting_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return graphplotting_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param graphplotting_validation $validation \
- */
- public function set_validation (graphplotting_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param graphplotting_validation $validation \
+ */
+ public function set_validation(graphplotting_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Mode [Deprecated] \
- * Defines the plotting mode to load. Possible values are: "all", "point", "line" \
- * @return string $mode \
- */
- public function get_mode() {
+ * Get Mode [Deprecated] \
+ * Defines the plotting mode to load. Possible values are: "all", "point", "line" \
+ *
+ * @return string $mode \
+ */
+ public function get_mode()
+ {
return $this->mode;
}
/**
- * Set Mode [Deprecated] \
- * Defines the plotting mode to load. Possible values are: "all", "point", "line" \
- * @param string $mode \
- */
- public function set_mode ($mode) {
+ * Set Mode [Deprecated] \
+ * Defines the plotting mode to load. Possible values are: "all", "point", "line" \
+ *
+ * @param string $mode \
+ */
+ public function set_mode($mode)
+ {
$this->mode = $mode;
}
/**
- * Get Axis X \
- * Defines if Axis should be shown in the Cartesian plane \
- * @return graphplotting_axis_x $axis_x \
- */
- public function get_axis_x() {
+ * Get Axis X \
+ * Defines if Axis should be shown in the Cartesian plane \
+ *
+ * @return graphplotting_axis_x $axis_x \
+ */
+ public function get_axis_x()
+ {
return $this->axis_x;
}
/**
- * Set Axis X \
- * Defines if Axis should be shown in the Cartesian plane \
- * @param graphplotting_axis_x $axis_x \
- */
- public function set_axis_x (graphplotting_axis_x $axis_x) {
+ * Set Axis X \
+ * Defines if Axis should be shown in the Cartesian plane \
+ *
+ * @param graphplotting_axis_x $axis_x \
+ */
+ public function set_axis_x(graphplotting_axis_x $axis_x)
+ {
$this->axis_x = $axis_x;
}
/**
- * Get Axis Y \
- * Defines if Axis X should be shown in the Cartesian plane \
- * @return graphplotting_axis_y $axis_y \
- */
- public function get_axis_y() {
+ * Get Axis Y \
+ * Defines if Axis X should be shown in the Cartesian plane \
+ *
+ * @return graphplotting_axis_y $axis_y \
+ */
+ public function get_axis_y()
+ {
return $this->axis_y;
}
/**
- * Set Axis Y \
- * Defines if Axis X should be shown in the Cartesian plane \
- * @param graphplotting_axis_y $axis_y \
- */
- public function set_axis_y (graphplotting_axis_y $axis_y) {
+ * Set Axis Y \
+ * Defines if Axis X should be shown in the Cartesian plane \
+ *
+ * @param graphplotting_axis_y $axis_y \
+ */
+ public function set_axis_y(graphplotting_axis_y $axis_y)
+ {
$this->axis_y = $axis_y;
}
/**
- * Get Canvas \
- * Specifies the canvas representing the Cartesian plane in which the user will be plotting \
- * @return graphplotting_canvas $canvas \
- */
- public function get_canvas() {
+ * Get Canvas \
+ * Specifies the canvas representing the Cartesian plane in which the user will be plotting \
+ *
+ * @return graphplotting_canvas $canvas \
+ */
+ public function get_canvas()
+ {
return $this->canvas;
}
/**
- * Set Canvas \
- * Specifies the canvas representing the Cartesian plane in which the user will be plotting \
- * @param graphplotting_canvas $canvas \
- */
- public function set_canvas (graphplotting_canvas $canvas) {
+ * Set Canvas \
+ * Specifies the canvas representing the Cartesian plane in which the user will be plotting \
+ *
+ * @param graphplotting_canvas $canvas \
+ */
+ public function set_canvas(graphplotting_canvas $canvas)
+ {
$this->canvas = $canvas;
}
/**
- * Get Grid \
- * Defines the Grid to be drawn in the Cartesian plane \
- * @return graphplotting_grid $grid \
- */
- public function get_grid() {
+ * Get Grid \
+ * Defines the Grid to be drawn in the Cartesian plane \
+ *
+ * @return graphplotting_grid $grid \
+ */
+ public function get_grid()
+ {
return $this->grid;
}
/**
- * Set Grid \
- * Defines the Grid to be drawn in the Cartesian plane \
- * @param graphplotting_grid $grid \
- */
- public function set_grid (graphplotting_grid $grid) {
+ * Set Grid \
+ * Defines the Grid to be drawn in the Cartesian plane \
+ *
+ * @param graphplotting_grid $grid \
+ */
+ public function set_grid(graphplotting_grid $grid)
+ {
$this->grid = $grid;
}
/**
- * Get Annotation \
- * Object used to add annotations to the question. Eg, labels, comments, titles \
- * @return graphplotting_annotation $annotation \
- */
- public function get_annotation() {
+ * Get Annotation \
+ * Object used to add annotations to the question. Eg, labels, comments, titles \
+ *
+ * @return graphplotting_annotation $annotation \
+ */
+ public function get_annotation()
+ {
return $this->annotation;
}
/**
- * Set Annotation \
- * Object used to add annotations to the question. Eg, labels, comments, titles \
- * @param graphplotting_annotation $annotation \
- */
- public function set_annotation (graphplotting_annotation $annotation) {
+ * Set Annotation \
+ * Object used to add annotations to the question. Eg, labels, comments, titles \
+ *
+ * @param graphplotting_annotation $annotation \
+ */
+ public function set_annotation(graphplotting_annotation $annotation)
+ {
$this->annotation = $annotation;
}
/**
- * Get Toolbar \
- * Object that defines which tools are available and other options for the toolbar. \
- * @return graphplotting_toolbar $toolbar \
- */
- public function get_toolbar() {
+ * Get Toolbar \
+ * Object that defines which tools are available and other options for the toolbar. \
+ *
+ * @return graphplotting_toolbar $toolbar \
+ */
+ public function get_toolbar()
+ {
return $this->toolbar;
}
/**
- * Set Toolbar \
- * Object that defines which tools are available and other options for the toolbar. \
- * @param graphplotting_toolbar $toolbar \
- */
- public function set_toolbar (graphplotting_toolbar $toolbar) {
+ * Set Toolbar \
+ * Object that defines which tools are available and other options for the toolbar. \
+ *
+ * @param graphplotting_toolbar $toolbar \
+ */
+ public function set_toolbar(graphplotting_toolbar $toolbar)
+ {
$this->toolbar = $toolbar;
}
/**
- * Get Draw Label Zero \
- * Defines whether to draw '0' label \
- * @return boolean $draw_zero \
- */
- public function get_draw_zero() {
+ * Get Draw Label Zero \
+ * Defines whether to draw '0' label \
+ *
+ * @return boolean $draw_zero \
+ */
+ public function get_draw_zero()
+ {
return $this->draw_zero;
}
/**
- * Set Draw Label Zero \
- * Defines whether to draw '0' label \
- * @param boolean $draw_zero \
- */
- public function set_draw_zero ($draw_zero) {
+ * Set Draw Label Zero \
+ * Defines whether to draw '0' label \
+ *
+ * @param boolean $draw_zero \
+ */
+ public function set_draw_zero($draw_zero)
+ {
$this->draw_zero = $draw_zero;
}
/**
- * Get Background image \
- * \
- * @return graphplotting_background_image $background_image \
- */
- public function get_background_image() {
+ * Get Background image \
+ * \
+ *
+ * @return graphplotting_background_image $background_image \
+ */
+ public function get_background_image()
+ {
return $this->background_image;
}
/**
- * Set Background image \
- * \
- * @param graphplotting_background_image $background_image \
- */
- public function set_background_image (graphplotting_background_image $background_image) {
+ * Set Background image \
+ * \
+ *
+ * @param graphplotting_background_image $background_image \
+ */
+ public function set_background_image(graphplotting_background_image $background_image)
+ {
$this->background_image = $background_image;
}
/**
- * Get Show Background Shape Points \
- * Defines whether to show points for background shapes or not \
- * @return boolean $display_points \
- */
- public function get_display_points() {
+ * Get Show Background Shape Points \
+ * Defines whether to show points for background shapes or not \
+ *
+ * @return boolean $display_points \
+ */
+ public function get_display_points()
+ {
return $this->display_points;
}
/**
- * Set Show Background Shape Points \
- * Defines whether to show points for background shapes or not \
- * @param boolean $display_points \
- */
- public function set_display_points ($display_points) {
+ * Set Show Background Shape Points \
+ * Defines whether to show points for background shapes or not \
+ *
+ * @param boolean $display_points \
+ */
+ public function set_display_points($display_points)
+ {
$this->display_points = $display_points;
}
/**
- * Get Background Shapes \
- * Shapes that will be displayed as stimulus in the the background of the Canvas. Users will be able to see them but not be
- able to interact with them. \
- * @return $background_shapes \
- */
- public function get_background_shapes() {
+ * Get Background Shapes \
+ * Shapes that will be displayed as stimulus in the the background of the Canvas. Users will be able to see them but not be
+ * able to interact with them. \
+ *
+ * @return $background_shapes \
+ */
+ public function get_background_shapes()
+ {
return $this->background_shapes;
}
/**
- * Set Background Shapes \
- * Shapes that will be displayed as stimulus in the the background of the Canvas. Users will be able to see them but not be
- able to interact with them. \
- * @param $background_shapes \
- */
- public function set_background_shapes ($background_shapes) {
+ * Set Background Shapes \
+ * Shapes that will be displayed as stimulus in the the background of the Canvas. Users will be able to see them but not be
+ * able to interact with them. \
+ *
+ * @param $background_shapes \
+ */
+ public function set_background_shapes($background_shapes)
+ {
$this->background_shapes = $background_shapes;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/graphplotting_annotation.php b/src/Entities/QuestionTypes/graphplotting_annotation.php
index 4c5d0986..4760b955 100644
--- a/src/Entities/QuestionTypes/graphplotting_annotation.php
+++ b/src/Entities/QuestionTypes/graphplotting_annotation.php
@@ -5,111 +5,131 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_annotation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_annotation extends BaseQuestionTypeAttribute
+{
protected $title;
protected $label_top;
protected $label_right;
protected $label_bottom;
protected $label_left;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Title \
- * The graph title \
- * @return string $title \
- */
- public function get_title() {
+ * Get Title \
+ * The graph title \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Title \
- * The graph title \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Title \
+ * The graph title \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Label top \
- * Label for the top of the graph \
- * @return string $label_top \
- */
- public function get_label_top() {
+ * Get Label top \
+ * Label for the top of the graph \
+ *
+ * @return string $label_top \
+ */
+ public function get_label_top()
+ {
return $this->label_top;
}
/**
- * Set Label top \
- * Label for the top of the graph \
- * @param string $label_top \
- */
- public function set_label_top ($label_top) {
+ * Set Label top \
+ * Label for the top of the graph \
+ *
+ * @param string $label_top \
+ */
+ public function set_label_top($label_top)
+ {
$this->label_top = $label_top;
}
/**
- * Get Label right \
- * Label for the right of the graph \
- * @return string $label_right \
- */
- public function get_label_right() {
+ * Get Label right \
+ * Label for the right of the graph \
+ *
+ * @return string $label_right \
+ */
+ public function get_label_right()
+ {
return $this->label_right;
}
/**
- * Set Label right \
- * Label for the right of the graph \
- * @param string $label_right \
- */
- public function set_label_right ($label_right) {
+ * Set Label right \
+ * Label for the right of the graph \
+ *
+ * @param string $label_right \
+ */
+ public function set_label_right($label_right)
+ {
$this->label_right = $label_right;
}
/**
- * Get Label bottom \
- * Label for the bottom of the graph \
- * @return string $label_bottom \
- */
- public function get_label_bottom() {
+ * Get Label bottom \
+ * Label for the bottom of the graph \
+ *
+ * @return string $label_bottom \
+ */
+ public function get_label_bottom()
+ {
return $this->label_bottom;
}
/**
- * Set Label bottom \
- * Label for the bottom of the graph \
- * @param string $label_bottom \
- */
- public function set_label_bottom ($label_bottom) {
+ * Set Label bottom \
+ * Label for the bottom of the graph \
+ *
+ * @param string $label_bottom \
+ */
+ public function set_label_bottom($label_bottom)
+ {
$this->label_bottom = $label_bottom;
}
/**
- * Get Label left \
- * Label for the left of the graph \
- * @return string $label_left \
- */
- public function get_label_left() {
+ * Get Label left \
+ * Label for the left of the graph \
+ *
+ * @return string $label_left \
+ */
+ public function get_label_left()
+ {
return $this->label_left;
}
/**
- * Set Label left \
- * Label for the left of the graph \
- * @param string $label_left \
- */
- public function set_label_left ($label_left) {
+ * Set Label left \
+ * Label for the left of the graph \
+ *
+ * @param string $label_left \
+ */
+ public function set_label_left($label_left)
+ {
$this->label_left = $label_left;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_axis_x.php b/src/Entities/QuestionTypes/graphplotting_axis_x.php
index af5f3baa..b1914c90 100644
--- a/src/Entities/QuestionTypes/graphplotting_axis_x.php
+++ b/src/Entities/QuestionTypes/graphplotting_axis_x.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_axis_x extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_axis_x extends BaseQuestionTypeAttribute
+{
protected $ticks_distance;
protected $hide_ticks;
protected $draw_labels;
@@ -17,156 +18,187 @@ class graphplotting_axis_x extends BaseQuestionTypeAttribute {
protected $show_last_arrow;
protected $show_axis_label;
protected $axis_label;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Ticks distance \
- * The distance between the ticks displayed in the axis \
- * @return number $ticks_distance \
- */
- public function get_ticks_distance() {
+ * Get Ticks distance \
+ * The distance between the ticks displayed in the axis \
+ *
+ * @return number $ticks_distance \
+ */
+ public function get_ticks_distance()
+ {
return $this->ticks_distance;
}
/**
- * Set Ticks distance \
- * The distance between the ticks displayed in the axis \
- * @param number $ticks_distance \
- */
- public function set_ticks_distance ($ticks_distance) {
+ * Set Ticks distance \
+ * The distance between the ticks displayed in the axis \
+ *
+ * @param number $ticks_distance \
+ */
+ public function set_ticks_distance($ticks_distance)
+ {
$this->ticks_distance = $ticks_distance;
}
/**
- * Get Hide ticks \
- * Defines if ticks are rendered in the axis \
- * @return boolean $hide_ticks \
- */
- public function get_hide_ticks() {
+ * Get Hide ticks \
+ * Defines if ticks are rendered in the axis \
+ *
+ * @return boolean $hide_ticks \
+ */
+ public function get_hide_ticks()
+ {
return $this->hide_ticks;
}
/**
- * Set Hide ticks \
- * Defines if ticks are rendered in the axis \
- * @param boolean $hide_ticks \
- */
- public function set_hide_ticks ($hide_ticks) {
+ * Set Hide ticks \
+ * Defines if ticks are rendered in the axis \
+ *
+ * @param boolean $hide_ticks \
+ */
+ public function set_hide_ticks($hide_ticks)
+ {
$this->hide_ticks = $hide_ticks;
}
/**
- * Get Draw labels \
- * Defines if labels are rendered in the axis \
- * @return boolean $draw_labels \
- */
- public function get_draw_labels() {
+ * Get Draw labels \
+ * Defines if labels are rendered in the axis \
+ *
+ * @return boolean $draw_labels \
+ */
+ public function get_draw_labels()
+ {
return $this->draw_labels;
}
/**
- * Set Draw labels \
- * Defines if labels are rendered in the axis \
- * @param boolean $draw_labels \
- */
- public function set_draw_labels ($draw_labels) {
+ * Set Draw labels \
+ * Defines if labels are rendered in the axis \
+ *
+ * @param boolean $draw_labels \
+ */
+ public function set_draw_labels($draw_labels)
+ {
$this->draw_labels = $draw_labels;
}
/**
- * Get Comma in label \
- * Inserts comma to separate thousands in a number \
- * @return boolean $comma_in_label \
- */
- public function get_comma_in_label() {
+ * Get Comma in label \
+ * Inserts comma to separate thousands in a number \
+ *
+ * @return boolean $comma_in_label \
+ */
+ public function get_comma_in_label()
+ {
return $this->comma_in_label;
}
/**
- * Set Comma in label \
- * Inserts comma to separate thousands in a number \
- * @param boolean $comma_in_label \
- */
- public function set_comma_in_label ($comma_in_label) {
+ * Set Comma in label \
+ * Inserts comma to separate thousands in a number \
+ *
+ * @param boolean $comma_in_label \
+ */
+ public function set_comma_in_label($comma_in_label)
+ {
$this->comma_in_label = $comma_in_label;
}
/**
- * Get Show first arrow \
- * Defines if an arrow should be rendered in the lower end of the axis \
- * @return boolean $show_first_arrow \
- */
- public function get_show_first_arrow() {
+ * Get Show first arrow \
+ * Defines if an arrow should be rendered in the lower end of the axis \
+ *
+ * @return boolean $show_first_arrow \
+ */
+ public function get_show_first_arrow()
+ {
return $this->show_first_arrow;
}
/**
- * Set Show first arrow \
- * Defines if an arrow should be rendered in the lower end of the axis \
- * @param boolean $show_first_arrow \
- */
- public function set_show_first_arrow ($show_first_arrow) {
+ * Set Show first arrow \
+ * Defines if an arrow should be rendered in the lower end of the axis \
+ *
+ * @param boolean $show_first_arrow \
+ */
+ public function set_show_first_arrow($show_first_arrow)
+ {
$this->show_first_arrow = $show_first_arrow;
}
/**
- * Get Show last arrow \
- * Defines if an arrow should be rendered in the higher end of the axis \
- * @return boolean $show_last_arrow \
- */
- public function get_show_last_arrow() {
+ * Get Show last arrow \
+ * Defines if an arrow should be rendered in the higher end of the axis \
+ *
+ * @return boolean $show_last_arrow \
+ */
+ public function get_show_last_arrow()
+ {
return $this->show_last_arrow;
}
/**
- * Set Show last arrow \
- * Defines if an arrow should be rendered in the higher end of the axis \
- * @param boolean $show_last_arrow \
- */
- public function set_show_last_arrow ($show_last_arrow) {
+ * Set Show last arrow \
+ * Defines if an arrow should be rendered in the higher end of the axis \
+ *
+ * @param boolean $show_last_arrow \
+ */
+ public function set_show_last_arrow($show_last_arrow)
+ {
$this->show_last_arrow = $show_last_arrow;
}
/**
- * Get Show axis label \
- * Defines if the axis label should be rendered \
- * @return boolean $show_axis_label \
- */
- public function get_show_axis_label() {
+ * Get Show axis label \
+ * Defines if the axis label should be rendered \
+ *
+ * @return boolean $show_axis_label \
+ */
+ public function get_show_axis_label()
+ {
return $this->show_axis_label;
}
/**
- * Set Show axis label \
- * Defines if the axis label should be rendered \
- * @param boolean $show_axis_label \
- */
- public function set_show_axis_label ($show_axis_label) {
+ * Set Show axis label \
+ * Defines if the axis label should be rendered \
+ *
+ * @param boolean $show_axis_label \
+ */
+ public function set_show_axis_label($show_axis_label)
+ {
$this->show_axis_label = $show_axis_label;
}
/**
- * Get Axis label \
- * Defines the label to be rendered next to X axis \
- * @return string $axis_label \
- */
- public function get_axis_label() {
+ * Get Axis label \
+ * Defines the label to be rendered next to X axis \
+ *
+ * @return string $axis_label \
+ */
+ public function get_axis_label()
+ {
return $this->axis_label;
}
/**
- * Set Axis label \
- * Defines the label to be rendered next to X axis \
- * @param string $axis_label \
- */
- public function set_axis_label ($axis_label) {
+ * Set Axis label \
+ * Defines the label to be rendered next to X axis \
+ *
+ * @param string $axis_label \
+ */
+ public function set_axis_label($axis_label)
+ {
$this->axis_label = $axis_label;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_axis_y.php b/src/Entities/QuestionTypes/graphplotting_axis_y.php
index 70d0279e..59a52661 100644
--- a/src/Entities/QuestionTypes/graphplotting_axis_y.php
+++ b/src/Entities/QuestionTypes/graphplotting_axis_y.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_axis_y extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_axis_y extends BaseQuestionTypeAttribute
+{
protected $ticks_distance;
protected $hide_ticks;
protected $draw_labels;
@@ -17,156 +18,187 @@ class graphplotting_axis_y extends BaseQuestionTypeAttribute {
protected $show_last_arrow;
protected $show_axis_label;
protected $axis_label;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Ticks distance \
- * The distance between the ticks displayed in the axis \
- * @return number $ticks_distance \
- */
- public function get_ticks_distance() {
+ * Get Ticks distance \
+ * The distance between the ticks displayed in the axis \
+ *
+ * @return number $ticks_distance \
+ */
+ public function get_ticks_distance()
+ {
return $this->ticks_distance;
}
/**
- * Set Ticks distance \
- * The distance between the ticks displayed in the axis \
- * @param number $ticks_distance \
- */
- public function set_ticks_distance ($ticks_distance) {
+ * Set Ticks distance \
+ * The distance between the ticks displayed in the axis \
+ *
+ * @param number $ticks_distance \
+ */
+ public function set_ticks_distance($ticks_distance)
+ {
$this->ticks_distance = $ticks_distance;
}
/**
- * Get Hide ticks \
- * Defines if ticks are rendered in the axis \
- * @return boolean $hide_ticks \
- */
- public function get_hide_ticks() {
+ * Get Hide ticks \
+ * Defines if ticks are rendered in the axis \
+ *
+ * @return boolean $hide_ticks \
+ */
+ public function get_hide_ticks()
+ {
return $this->hide_ticks;
}
/**
- * Set Hide ticks \
- * Defines if ticks are rendered in the axis \
- * @param boolean $hide_ticks \
- */
- public function set_hide_ticks ($hide_ticks) {
+ * Set Hide ticks \
+ * Defines if ticks are rendered in the axis \
+ *
+ * @param boolean $hide_ticks \
+ */
+ public function set_hide_ticks($hide_ticks)
+ {
$this->hide_ticks = $hide_ticks;
}
/**
- * Get Draw labels \
- * Defines if labels are rendered in the axis \
- * @return boolean $draw_labels \
- */
- public function get_draw_labels() {
+ * Get Draw labels \
+ * Defines if labels are rendered in the axis \
+ *
+ * @return boolean $draw_labels \
+ */
+ public function get_draw_labels()
+ {
return $this->draw_labels;
}
/**
- * Set Draw labels \
- * Defines if labels are rendered in the axis \
- * @param boolean $draw_labels \
- */
- public function set_draw_labels ($draw_labels) {
+ * Set Draw labels \
+ * Defines if labels are rendered in the axis \
+ *
+ * @param boolean $draw_labels \
+ */
+ public function set_draw_labels($draw_labels)
+ {
$this->draw_labels = $draw_labels;
}
/**
- * Get Comma in label \
- * Inserts comma to separate thousands in a number \
- * @return boolean $comma_in_label \
- */
- public function get_comma_in_label() {
+ * Get Comma in label \
+ * Inserts comma to separate thousands in a number \
+ *
+ * @return boolean $comma_in_label \
+ */
+ public function get_comma_in_label()
+ {
return $this->comma_in_label;
}
/**
- * Set Comma in label \
- * Inserts comma to separate thousands in a number \
- * @param boolean $comma_in_label \
- */
- public function set_comma_in_label ($comma_in_label) {
+ * Set Comma in label \
+ * Inserts comma to separate thousands in a number \
+ *
+ * @param boolean $comma_in_label \
+ */
+ public function set_comma_in_label($comma_in_label)
+ {
$this->comma_in_label = $comma_in_label;
}
/**
- * Get Show first arrow \
- * Defines if an arrow should be rendered in the lower end of the axis \
- * @return boolean $show_first_arrow \
- */
- public function get_show_first_arrow() {
+ * Get Show first arrow \
+ * Defines if an arrow should be rendered in the lower end of the axis \
+ *
+ * @return boolean $show_first_arrow \
+ */
+ public function get_show_first_arrow()
+ {
return $this->show_first_arrow;
}
/**
- * Set Show first arrow \
- * Defines if an arrow should be rendered in the lower end of the axis \
- * @param boolean $show_first_arrow \
- */
- public function set_show_first_arrow ($show_first_arrow) {
+ * Set Show first arrow \
+ * Defines if an arrow should be rendered in the lower end of the axis \
+ *
+ * @param boolean $show_first_arrow \
+ */
+ public function set_show_first_arrow($show_first_arrow)
+ {
$this->show_first_arrow = $show_first_arrow;
}
/**
- * Get Show last arrow \
- * Defines if an arrow should be rendered in the higher end of the axis \
- * @return boolean $show_last_arrow \
- */
- public function get_show_last_arrow() {
+ * Get Show last arrow \
+ * Defines if an arrow should be rendered in the higher end of the axis \
+ *
+ * @return boolean $show_last_arrow \
+ */
+ public function get_show_last_arrow()
+ {
return $this->show_last_arrow;
}
/**
- * Set Show last arrow \
- * Defines if an arrow should be rendered in the higher end of the axis \
- * @param boolean $show_last_arrow \
- */
- public function set_show_last_arrow ($show_last_arrow) {
+ * Set Show last arrow \
+ * Defines if an arrow should be rendered in the higher end of the axis \
+ *
+ * @param boolean $show_last_arrow \
+ */
+ public function set_show_last_arrow($show_last_arrow)
+ {
$this->show_last_arrow = $show_last_arrow;
}
/**
- * Get Show axis label \
- * Defines if the axis label should be rendered \
- * @return boolean $show_axis_label \
- */
- public function get_show_axis_label() {
+ * Get Show axis label \
+ * Defines if the axis label should be rendered \
+ *
+ * @return boolean $show_axis_label \
+ */
+ public function get_show_axis_label()
+ {
return $this->show_axis_label;
}
/**
- * Set Show axis label \
- * Defines if the axis label should be rendered \
- * @param boolean $show_axis_label \
- */
- public function set_show_axis_label ($show_axis_label) {
+ * Set Show axis label \
+ * Defines if the axis label should be rendered \
+ *
+ * @param boolean $show_axis_label \
+ */
+ public function set_show_axis_label($show_axis_label)
+ {
$this->show_axis_label = $show_axis_label;
}
/**
- * Get Axis label \
- * Defines the label to be rendered next to Y axis \
- * @return string $axis_label \
- */
- public function get_axis_label() {
+ * Get Axis label \
+ * Defines the label to be rendered next to Y axis \
+ *
+ * @return string $axis_label \
+ */
+ public function get_axis_label()
+ {
return $this->axis_label;
}
/**
- * Set Axis label \
- * Defines the label to be rendered next to Y axis \
- * @param string $axis_label \
- */
- public function set_axis_label ($axis_label) {
+ * Set Axis label \
+ * Defines the label to be rendered next to Y axis \
+ *
+ * @param string $axis_label \
+ */
+ public function set_axis_label($axis_label)
+ {
$this->axis_label = $axis_label;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_background_image.php b/src/Entities/QuestionTypes/graphplotting_background_image.php
index d616e0dd..51a74847 100644
--- a/src/Entities/QuestionTypes/graphplotting_background_image.php
+++ b/src/Entities/QuestionTypes/graphplotting_background_image.php
@@ -5,130 +5,154 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_background_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_background_image extends BaseQuestionTypeAttribute
+{
protected $src;
protected $x;
protected $y;
protected $width;
protected $height;
protected $opacity;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Image source \
- * \
- * @return string $src \
- */
- public function get_src() {
+ * Get Image source \
+ * \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Image source \
- * \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Image source \
+ * \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get X \
- * X coordinate of the image's centre \
- * @return number $x \
- */
- public function get_x() {
+ * Get X \
+ * X coordinate of the image's centre \
+ *
+ * @return number $x \
+ */
+ public function get_x()
+ {
return $this->x;
}
/**
- * Set X \
- * X coordinate of the image's centre \
- * @param number $x \
- */
- public function set_x ($x) {
+ * Set X \
+ * X coordinate of the image's centre \
+ *
+ * @param number $x \
+ */
+ public function set_x($x)
+ {
$this->x = $x;
}
/**
- * Get Y \
- * Y coordinate of the image's centre \
- * @return number $y \
- */
- public function get_y() {
+ * Get Y \
+ * Y coordinate of the image's centre \
+ *
+ * @return number $y \
+ */
+ public function get_y()
+ {
return $this->y;
}
/**
- * Set Y \
- * Y coordinate of the image's centre \
- * @param number $y \
- */
- public function set_y ($y) {
+ * Set Y \
+ * Y coordinate of the image's centre \
+ *
+ * @param number $y \
+ */
+ public function set_y($y)
+ {
$this->y = $y;
}
/**
- * Get Width (%) \
- * Image width in percentage of the canvas width \
- * @return number $width \
- */
- public function get_width() {
+ * Get Width (%) \
+ * Image width in percentage of the canvas width \
+ *
+ * @return number $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width (%) \
- * Image width in percentage of the canvas width \
- * @param number $width \
- */
- public function set_width ($width) {
+ * Set Width (%) \
+ * Image width in percentage of the canvas width \
+ *
+ * @param number $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height (%) \
- * Image height in percentage of the canvas height \
- * @return number $height \
- */
- public function get_height() {
+ * Get Height (%) \
+ * Image height in percentage of the canvas height \
+ *
+ * @return number $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height (%) \
- * Image height in percentage of the canvas height \
- * @param number $height \
- */
- public function set_height ($height) {
+ * Set Height (%) \
+ * Image height in percentage of the canvas height \
+ *
+ * @param number $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Opacity (%) \
- * Percentage value defining how opaque the image is \
- * @return number $opacity \
- */
- public function get_opacity() {
+ * Get Opacity (%) \
+ * Percentage value defining how opaque the image is \
+ *
+ * @return number $opacity \
+ */
+ public function get_opacity()
+ {
return $this->opacity;
}
/**
- * Set Opacity (%) \
- * Percentage value defining how opaque the image is \
- * @param number $opacity \
- */
- public function set_opacity ($opacity) {
+ * Set Opacity (%) \
+ * Percentage value defining how opaque the image is \
+ *
+ * @param number $opacity \
+ */
+ public function set_opacity($opacity)
+ {
$this->opacity = $opacity;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_canvas.php b/src/Entities/QuestionTypes/graphplotting_canvas.php
index bb20a06e..91e98f1d 100644
--- a/src/Entities/QuestionTypes/graphplotting_canvas.php
+++ b/src/Entities/QuestionTypes/graphplotting_canvas.php
@@ -5,130 +5,154 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_canvas extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_canvas extends BaseQuestionTypeAttribute
+{
protected $snap_to;
protected $show_hover_position;
protected $x_min;
protected $x_max;
protected $y_min;
protected $y_max;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Snap to \
- * Defines the snap applied on points, possible values are: "grid", "ticks" or a numeric value \
- * @return string/number $snap_to \
- */
- public function get_snap_to() {
+ * Get Snap to \
+ * Defines the snap applied on points, possible values are: "grid", "ticks" or a numeric value \
+ *
+ * @return string/number $snap_to \
+ */
+ public function get_snap_to()
+ {
return $this->snap_to;
}
/**
- * Set Snap to \
- * Defines the snap applied on points, possible values are: "grid", "ticks" or a numeric value \
- * @param string/number $snap_to \
- */
- public function set_snap_to ($snap_to) {
+ * Set Snap to \
+ * Defines the snap applied on points, possible values are: "grid", "ticks" or a numeric value \
+ *
+ * @param string /number $snap_to \
+ */
+ public function set_snap_to($snap_to)
+ {
$this->snap_to = $snap_to;
}
/**
- * Get Show hover position \
- * Defines if the position of a point should be displayed when hovering over or dragging it \
- * @return boolean $show_hover_position \
- */
- public function get_show_hover_position() {
+ * Get Show hover position \
+ * Defines if the position of a point should be displayed when hovering over or dragging it \
+ *
+ * @return boolean $show_hover_position \
+ */
+ public function get_show_hover_position()
+ {
return $this->show_hover_position;
}
/**
- * Set Show hover position \
- * Defines if the position of a point should be displayed when hovering over or dragging it \
- * @param boolean $show_hover_position \
- */
- public function set_show_hover_position ($show_hover_position) {
+ * Set Show hover position \
+ * Defines if the position of a point should be displayed when hovering over or dragging it \
+ *
+ * @param boolean $show_hover_position \
+ */
+ public function set_show_hover_position($show_hover_position)
+ {
$this->show_hover_position = $show_hover_position;
}
/**
- * Get X min \
- * X axis lower value \
- * @return number $x_min \
- */
- public function get_x_min() {
+ * Get X min \
+ * X axis lower value \
+ *
+ * @return number $x_min \
+ */
+ public function get_x_min()
+ {
return $this->x_min;
}
/**
- * Set X min \
- * X axis lower value \
- * @param number $x_min \
- */
- public function set_x_min ($x_min) {
+ * Set X min \
+ * X axis lower value \
+ *
+ * @param number $x_min \
+ */
+ public function set_x_min($x_min)
+ {
$this->x_min = $x_min;
}
/**
- * Get X max \
- * X axis higher value \
- * @return number $x_max \
- */
- public function get_x_max() {
+ * Get X max \
+ * X axis higher value \
+ *
+ * @return number $x_max \
+ */
+ public function get_x_max()
+ {
return $this->x_max;
}
/**
- * Set X max \
- * X axis higher value \
- * @param number $x_max \
- */
- public function set_x_max ($x_max) {
+ * Set X max \
+ * X axis higher value \
+ *
+ * @param number $x_max \
+ */
+ public function set_x_max($x_max)
+ {
$this->x_max = $x_max;
}
/**
- * Get Y min \
- * Y axis lower value \
- * @return number $y_min \
- */
- public function get_y_min() {
+ * Get Y min \
+ * Y axis lower value \
+ *
+ * @return number $y_min \
+ */
+ public function get_y_min()
+ {
return $this->y_min;
}
/**
- * Set Y min \
- * Y axis lower value \
- * @param number $y_min \
- */
- public function set_y_min ($y_min) {
+ * Set Y min \
+ * Y axis lower value \
+ *
+ * @param number $y_min \
+ */
+ public function set_y_min($y_min)
+ {
$this->y_min = $y_min;
}
/**
- * Get Y max \
- * Y axis higher value \
- * @return number $y_max \
- */
- public function get_y_max() {
+ * Get Y max \
+ * Y axis higher value \
+ *
+ * @return number $y_max \
+ */
+ public function get_y_max()
+ {
return $this->y_max;
}
/**
- * Set Y max \
- * Y axis higher value \
- * @param number $y_max \
- */
- public function set_y_max ($y_max) {
+ * Set Y max \
+ * Y axis higher value \
+ *
+ * @param number $y_max \
+ */
+ public function set_y_max($y_max)
+ {
$this->y_max = $y_max;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_grid.php b/src/Entities/QuestionTypes/graphplotting_grid.php
index 5df492ee..ab49144a 100644
--- a/src/Entities/QuestionTypes/graphplotting_grid.php
+++ b/src/Entities/QuestionTypes/graphplotting_grid.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_grid extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_grid extends BaseQuestionTypeAttribute
+{
protected $x_distance;
protected $y_distance;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get x_distance \
- * Distance between grid lines perpendicular to the X axis \
- * @return number $x_distance \
- */
- public function get_x_distance() {
+ * Get x_distance \
+ * Distance between grid lines perpendicular to the X axis \
+ *
+ * @return number $x_distance \
+ */
+ public function get_x_distance()
+ {
return $this->x_distance;
}
/**
- * Set x_distance \
- * Distance between grid lines perpendicular to the X axis \
- * @param number $x_distance \
- */
- public function set_x_distance ($x_distance) {
+ * Set x_distance \
+ * Distance between grid lines perpendicular to the X axis \
+ *
+ * @param number $x_distance \
+ */
+ public function set_x_distance($x_distance)
+ {
$this->x_distance = $x_distance;
}
/**
- * Get y_distance \
- * Distance between grid lines perpendicular to the Y axis \
- * @return number $y_distance \
- */
- public function get_y_distance() {
+ * Get y_distance \
+ * Distance between grid lines perpendicular to the Y axis \
+ *
+ * @return number $y_distance \
+ */
+ public function get_y_distance()
+ {
return $this->y_distance;
}
/**
- * Set y_distance \
- * Distance between grid lines perpendicular to the Y axis \
- * @param number $y_distance \
- */
- public function set_y_distance ($y_distance) {
+ * Set y_distance \
+ * Distance between grid lines perpendicular to the Y axis \
+ *
+ * @param number $y_distance \
+ */
+ public function set_y_distance($y_distance)
+ {
$this->y_distance = $y_distance;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_metadata.php b/src/Entities/QuestionTypes/graphplotting_metadata.php
index 42fb06c9..2cbf0b49 100644
--- a/src/Entities/QuestionTypes/graphplotting_metadata.php
+++ b/src/Entities/QuestionTypes/graphplotting_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_toolbar.php b/src/Entities/QuestionTypes/graphplotting_toolbar.php
index f53e842c..0fb80039 100644
--- a/src/Entities/QuestionTypes/graphplotting_toolbar.php
+++ b/src/Entities/QuestionTypes/graphplotting_toolbar.php
@@ -5,75 +5,87 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_toolbar extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_toolbar extends BaseQuestionTypeAttribute
+{
protected $tools;
protected $default_tool;
protected $controls;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Tools \
- * An array containing either strings or a nested array of strings, defining the buttons or dropdown groups of tools that a
- re available in the toolbar for this question. \
- * @return array $tools \
- */
- public function get_tools() {
+ * Get Tools \
+ * An array containing either strings or a nested array of strings, defining the buttons or dropdown groups of tools that a
+ * re available in the toolbar for this question. \
+ *
+ * @return array $tools \
+ */
+ public function get_tools()
+ {
return $this->tools;
}
/**
- * Set Tools \
- * An array containing either strings or a nested array of strings, defining the buttons or dropdown groups of tools that a
- re available in the toolbar for this question. \
- * @param array $tools \
- */
- public function set_tools (array $tools) {
+ * Set Tools \
+ * An array containing either strings or a nested array of strings, defining the buttons or dropdown groups of tools that a
+ * re available in the toolbar for this question. \
+ *
+ * @param array $tools \
+ */
+ public function set_tools(array $tools)
+ {
$this->tools = $tools;
}
/**
- * Get Default Tool \
- * The tool that will be set when the question is loaded. \
- * @return string $default_tool \
- */
- public function get_default_tool() {
+ * Get Default Tool \
+ * The tool that will be set when the question is loaded. \
+ *
+ * @return string $default_tool \
+ */
+ public function get_default_tool()
+ {
return $this->default_tool;
}
/**
- * Set Default Tool \
- * The tool that will be set when the question is loaded. \
- * @param string $default_tool \
- */
- public function set_default_tool ($default_tool) {
+ * Set Default Tool \
+ * The tool that will be set when the question is loaded. \
+ *
+ * @param string $default_tool \
+ */
+ public function set_default_tool($default_tool)
+ {
$this->default_tool = $default_tool;
}
/**
- * Get Controls \
- * Determines options a user has for controlling graph elements. \
- * @return array $controls \
- */
- public function get_controls() {
+ * Get Controls \
+ * Determines options a user has for controlling graph elements. \
+ *
+ * @return array $controls \
+ */
+ public function get_controls()
+ {
return $this->controls;
}
/**
- * Set Controls \
- * Determines options a user has for controlling graph elements. \
- * @param array $controls \
- */
- public function set_controls (array $controls) {
+ * Set Controls \
+ * Determines options a user has for controlling graph elements. \
+ *
+ * @param array $controls \
+ */
+ public function set_controls(array $controls)
+ {
$this->controls = $controls;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_ui_style.php b/src/Entities/QuestionTypes/graphplotting_ui_style.php
index 2c657943..31e52a05 100644
--- a/src/Entities/QuestionTypes/graphplotting_ui_style.php
+++ b/src/Entities/QuestionTypes/graphplotting_ui_style.php
@@ -5,138 +5,162 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
protected $height;
protected $width;
protected $margin;
protected $graph_controls;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Height \
- * The height of the graph with trailing px unit eg. "600px". \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the graph with trailing px unit eg. "600px". \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the graph with trailing px unit eg. "600px". \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the graph with trailing px unit eg. "600px". \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the graph with trailing px unit eg. "600px". \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the graph with trailing px unit eg. "600px". \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the graph with trailing px unit eg. "600px". \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the graph with trailing px unit eg. "600px". \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Margin \
- * The margin around the graph to make room for labels, can be a single value eg "20px" or a css formatted string eg "20px
- 10px 20px" for margins with different values on each side, see MDN Margin Reference for more information. Note: Margin will default to 20px if there is a
- label and the margin value is not set. \
- * @return string $margin \
- */
- public function get_margin() {
+ * Get Margin \
+ * The margin around the graph to make room for labels, can be a single value eg "20px" or a css formatted string eg "20px
+ * 10px 20px" for margins with different values on each side, see MDN Margin Reference for more information. Note: Margin will default to 20px if there is a
+ * label and the margin value is not set. \
+ *
+ * @return string $margin \
+ */
+ public function get_margin()
+ {
return $this->margin;
}
/**
- * Set Margin \
- * The margin around the graph to make room for labels, can be a single value eg "20px" or a css formatted string eg "20px
- 10px 20px" for margins with different values on each side, see MDN Margin Reference for more information. Note: Margin will default to 20px if there is a
- label and the margin value is not set. \
- * @param string $margin \
- */
- public function set_margin ($margin) {
+ * Set Margin \
+ * The margin around the graph to make room for labels, can be a single value eg "20px" or a css formatted string eg "20px
+ * 10px 20px" for margins with different values on each side, see MDN Margin Reference for more information. Note: Margin will default to 20px if there is a
+ * label and the margin value is not set. \
+ *
+ * @param string $margin \
+ */
+ public function set_margin($margin)
+ {
$this->margin = $margin;
}
/**
- * Get Graph Control Options (deprecated) \
- * Deprecated This attribute has been deprecated; consider using toolbar.contro
- ls instead. \
- * @return string $graph_controls ie. reset, delete \
- */
- public function get_graph_controls() {
+ * Get Graph Control Options (deprecated) \
+ * Deprecated This attribute has been deprecated; consider using toolbar.contro
+ * ls instead. \
+ *
+ * @return string $graph_controls ie. reset, delete \
+ */
+ public function get_graph_controls()
+ {
return $this->graph_controls;
}
/**
- * Set Graph Control Options (deprecated) \
- * Deprecated This attribute has been deprecated; consider using toolbar.contro
- ls instead. \
- * @param string $graph_controls ie. reset, delete \
- */
- public function set_graph_controls ($graph_controls) {
+ * Set Graph Control Options (deprecated) \
+ * Deprecated This attribute has been deprecated; consider using toolbar.contro
+ * ls instead. \
+ *
+ * @param string $graph_controls ie. reset, delete \
+ */
+ public function set_graph_controls($graph_controls)
+ {
$this->graph_controls = $graph_controls;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_validation.php b/src/Entities/QuestionTypes/graphplotting_validation.php
index 3b63f113..c3b6f0d5 100644
--- a/src/Entities/QuestionTypes/graphplotting_validation.php
+++ b/src/Entities/QuestionTypes/graphplotting_validation.php
@@ -5,140 +5,164 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $ignore_repeated_shapes;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return graphplotting_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return graphplotting_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param graphplotting_validation_valid_response $valid_response \
- */
- public function set_valid_response (graphplotting_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param graphplotting_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(graphplotting_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Ignore repeated shapes \
- * When set to 'yes', scoring will ignore shapes which are plotted multiple times within the same composition (authored val
- ue is treated separately to student's response). When the value is set to 'strict', the shapes are only considered equal
- if the points are equivalent, not just the position and slope. See the knowledgebase article for more details: http://d
- ocs.learnosity.com/assessment/questions/knowledgebase/graphplotting_ignore_repeated_shapes \
- * @return string $ignore_repeated_shapes ie. no, yes, strict \
- */
- public function get_ignore_repeated_shapes() {
+ * Get Ignore repeated shapes \
+ * When set to 'yes', scoring will ignore shapes which are plotted multiple times within the same composition (authored val
+ * ue is treated separately to student's response). When the value is set to 'strict', the shapes are only considered equal
+ * if the points are equivalent, not just the position and slope. See the knowledgebase article for more details: http://d
+ * ocs.learnosity.com/assessment/questions/knowledgebase/graphplotting_ignore_repeated_shapes \
+ *
+ * @return string $ignore_repeated_shapes ie. no, yes, strict \
+ */
+ public function get_ignore_repeated_shapes()
+ {
return $this->ignore_repeated_shapes;
}
/**
- * Set Ignore repeated shapes \
- * When set to 'yes', scoring will ignore shapes which are plotted multiple times within the same composition (authored val
- ue is treated separately to student's response). When the value is set to 'strict', the shapes are only considered equal
- if the points are equivalent, not just the position and slope. See the knowledgebase article for more details: http://d
- ocs.learnosity.com/assessment/questions/knowledgebase/graphplotting_ignore_repeated_shapes \
- * @param string $ignore_repeated_shapes ie. no, yes, strict \
- */
- public function set_ignore_repeated_shapes ($ignore_repeated_shapes) {
+ * Set Ignore repeated shapes \
+ * When set to 'yes', scoring will ignore shapes which are plotted multiple times within the same composition (authored val
+ * ue is treated separately to student's response). When the value is set to 'strict', the shapes are only considered equal
+ * if the points are equivalent, not just the position and slope. See the knowledgebase article for more details: http://d
+ * ocs.learnosity.com/assessment/questions/knowledgebase/graphplotting_ignore_repeated_shapes \
+ *
+ * @param string $ignore_repeated_shapes ie. no, yes, strict \
+ */
+ public function set_ignore_repeated_shapes($ignore_repeated_shapes)
+ {
$this->ignore_repeated_shapes = $ignore_repeated_shapes;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_validation_alt_responses_item.php b/src/Entities/QuestionTypes/graphplotting_validation_alt_responses_item.php
index cfe16814..5772efc8 100644
--- a/src/Entities/QuestionTypes/graphplotting_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/graphplotting_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * The response value that indicates the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * The response value that indicates the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * The response value that indicates the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * The response value that indicates the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/graphplotting_validation_valid_response.php b/src/Entities/QuestionTypes/graphplotting_validation_valid_response.php
index 857f1659..0a127aaa 100644
--- a/src/Entities/QuestionTypes/graphplotting_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/graphplotting_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class graphplotting_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class graphplotting_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * The response value that indicates the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * The response value that indicates the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * The response value that indicates the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * The response value that indicates the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/highlight.php b/src/Entities/QuestionTypes/highlight.php
index 129ce7b0..9a47ab59 100644
--- a/src/Entities/QuestionTypes/highlight.php
+++ b/src/Entities/QuestionTypes/highlight.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class highlight extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class highlight extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -20,233 +21,277 @@ class highlight extends BaseQuestionType {
protected $img_src;
protected $line_color;
protected $line_width;
-
+
public function __construct(
- $type,
- $img_src
- )
- {
- $this->type = $type;
- $this->img_src = $img_src;
- }
+ $type,
+ $img_src
+ ) {
+ $this->type = $type;
+ $this->img_src = $img_src;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return highlight_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return highlight_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param highlight_metadata $metadata \
- */
- public function set_metadata (highlight_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param highlight_metadata $metadata \
+ */
+ public function set_metadata(highlight_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return highlight_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return highlight_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param highlight_ui_style $ui_style \
- */
- public function set_ui_style (highlight_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param highlight_ui_style $ui_style \
+ */
+ public function set_ui_style(highlight_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @return highlight_validation $validation \
- */
- public function get_validation() {
+ * Get Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @return highlight_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @param highlight_validation $validation \
- */
- public function set_validation (highlight_validation $validation) {
+ * Set Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @param highlight_validation $validation \
+ */
+ public function set_validation(highlight_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Image Source \
- * The absolute URL of the background image. \
- * @return string $img_src \
- */
- public function get_img_src() {
+ * Get Image Source \
+ * The absolute URL of the background image. \
+ *
+ * @return string $img_src \
+ */
+ public function get_img_src()
+ {
return $this->img_src;
}
/**
- * Set Image Source \
- * The absolute URL of the background image. \
- * @param string $img_src \
- */
- public function set_img_src ($img_src) {
+ * Set Image Source \
+ * The absolute URL of the background image. \
+ *
+ * @param string $img_src \
+ */
+ public function set_img_src($img_src)
+ {
$this->img_src = $img_src;
}
/**
- * Get Line Color Options \
- * Color of the painted line, expressed as a HTML color code. Examples of acceptable formats: '#FFFFFF', 'white', 'rgb(255,
- 255, 255)', 'rgba(255, 0, 0, 0.8)'. \
- * @return array $line_color \
- */
- public function get_line_color() {
+ * Get Line Color Options \
+ * Color of the painted line, expressed as a HTML color code. Examples of acceptable formats: '#FFFFFF', 'white', 'rgb(255,
+ * 255, 255)', 'rgba(255, 0, 0, 0.8)'. \
+ *
+ * @return array $line_color \
+ */
+ public function get_line_color()
+ {
return $this->line_color;
}
/**
- * Set Line Color Options \
- * Color of the painted line, expressed as a HTML color code. Examples of acceptable formats: '#FFFFFF', 'white', 'rgb(255,
- 255, 255)', 'rgba(255, 0, 0, 0.8)'. \
- * @param array $line_color \
- */
- public function set_line_color (array $line_color) {
+ * Set Line Color Options \
+ * Color of the painted line, expressed as a HTML color code. Examples of acceptable formats: '#FFFFFF', 'white', 'rgb(255,
+ * 255, 255)', 'rgba(255, 0, 0, 0.8)'. \
+ *
+ * @param array $line_color \
+ */
+ public function set_line_color(array $line_color)
+ {
$this->line_color = $line_color;
}
/**
- * Get Line Width (pixels) \
- * Width of the painted line, in pixels. \
- * @return number $line_width \
- */
- public function get_line_width() {
+ * Get Line Width (pixels) \
+ * Width of the painted line, in pixels. \
+ *
+ * @return number $line_width \
+ */
+ public function get_line_width()
+ {
return $this->line_width;
}
/**
- * Set Line Width (pixels) \
- * Width of the painted line, in pixels. \
- * @param number $line_width \
- */
- public function set_line_width ($line_width) {
+ * Set Line Width (pixels) \
+ * Width of the painted line, in pixels. \
+ *
+ * @param number $line_width \
+ */
+ public function set_line_width($line_width)
+ {
$this->line_width = $line_width;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/highlight_metadata.php b/src/Entities/QuestionTypes/highlight_metadata.php
index 59b0bb0c..bace6585 100644
--- a/src/Entities/QuestionTypes/highlight_metadata.php
+++ b/src/Entities/QuestionTypes/highlight_metadata.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class highlight_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class highlight_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/highlight_ui_style.php b/src/Entities/QuestionTypes/highlight_ui_style.php
index 11e89753..703e993f 100644
--- a/src/Entities/QuestionTypes/highlight_ui_style.php
+++ b/src/Entities/QuestionTypes/highlight_ui_style.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class highlight_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class highlight_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/highlight_validation.php b/src/Entities/QuestionTypes/highlight_validation.php
index 66066978..c643d508 100644
--- a/src/Entities/QuestionTypes/highlight_validation.php
+++ b/src/Entities/QuestionTypes/highlight_validation.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class highlight_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class highlight_validation extends BaseQuestionTypeAttribute
+{
protected $max_score;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Max Score \
- * The highest score a marker can award to this question response. \
- * @return number $max_score \
- */
- public function get_max_score() {
+ * Get Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @return number $max_score \
+ */
+ public function get_max_score()
+ {
return $this->max_score;
}
/**
- * Set Max Score \
- * The highest score a marker can award to this question response. \
- * @param number $max_score \
- */
- public function set_max_score ($max_score) {
+ * Set Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @param number $max_score \
+ */
+ public function set_max_score($max_score)
+ {
$this->max_score = $max_score;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot.php b/src/Entities/QuestionTypes/hotspot.php
index 124df314..36b8a031 100644
--- a/src/Entities/QuestionTypes/hotspot.php
+++ b/src/Entities/QuestionTypes/hotspot.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -23,279 +24,335 @@ class hotspot extends BaseQuestionType {
protected $area_attributes;
protected $max_width;
protected $multiple_responses;
-
+
public function __construct(
- $type
- )
- {
- $this->type = $type;
- }
+ $type
+ ) {
+ $this->type = $type;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return hotspot_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return hotspot_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param hotspot_metadata $metadata \
- */
- public function set_metadata (hotspot_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param hotspot_metadata $metadata \
+ */
+ public function set_metadata(hotspot_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return hotspot_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return hotspot_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param hotspot_ui_style $ui_style \
- */
- public function set_ui_style (hotspot_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param hotspot_ui_style $ui_style \
+ */
+ public function set_ui_style(hotspot_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return hotspot_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return hotspot_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param hotspot_validation $validation \
- */
- public function set_validation (hotspot_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param hotspot_validation $validation \
+ */
+ public function set_validation(hotspot_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Stimulus Image \
- * Define an image to be annotated. \
- * @return hotspot_image $image \
- */
- public function get_image() {
+ * Get Stimulus Image \
+ * Define an image to be annotated. \
+ *
+ * @return hotspot_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Stimulus Image \
- * Define an image to be annotated. \
- * @param hotspot_image $image \
- */
- public function set_image (hotspot_image $image) {
+ * Set Stimulus Image \
+ * Define an image to be annotated. \
+ *
+ * @param hotspot_image $image \
+ */
+ public function set_image(hotspot_image $image)
+ {
$this->image = $image;
}
/**
- * Get Areas \
- * An array of validation areas for the stimulus image. \
- * @return array $areas \
- */
- public function get_areas() {
+ * Get Areas \
+ * An array of validation areas for the stimulus image. \
+ *
+ * @return array $areas \
+ */
+ public function get_areas()
+ {
return $this->areas;
}
/**
- * Set Areas \
- * An array of validation areas for the stimulus image. \
- * @param array $areas \
- */
- public function set_areas (array $areas) {
+ * Set Areas \
+ * An array of validation areas for the stimulus image. \
+ *
+ * @param array $areas \
+ */
+ public function set_areas(array $areas)
+ {
$this->areas = $areas;
}
/**
- * Get Area Attributes \
- * \
- * @return hotspot_area_attributes $area_attributes \
- */
- public function get_area_attributes() {
+ * Get Area Attributes \
+ * \
+ *
+ * @return hotspot_area_attributes $area_attributes \
+ */
+ public function get_area_attributes()
+ {
return $this->area_attributes;
}
/**
- * Set Area Attributes \
- * \
- * @param hotspot_area_attributes $area_attributes \
- */
- public function set_area_attributes (hotspot_area_attributes $area_attributes) {
+ * Set Area Attributes \
+ * \
+ *
+ * @param hotspot_area_attributes $area_attributes \
+ */
+ public function set_area_attributes(hotspot_area_attributes $area_attributes)
+ {
$this->area_attributes = $area_attributes;
}
/**
- * Get Max Width \
- * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
- * @return string $max_width \
- */
- public function get_max_width() {
+ * Get Max Width \
+ * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
+ *
+ * @return string $max_width \
+ */
+ public function get_max_width()
+ {
return $this->max_width;
}
/**
- * Set Max Width \
- * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
- * @param string $max_width \
- */
- public function set_max_width ($max_width) {
+ * Set Max Width \
+ * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
+ *
+ * @param string $max_width \
+ */
+ public function set_max_width($max_width)
+ {
$this->max_width = $max_width;
}
/**
- * Get Multiple responses \
- * If multiple_responses is true the user will be able to select multiple hotspots. \
- * @return boolean $multiple_responses \
- */
- public function get_multiple_responses() {
+ * Get Multiple responses \
+ * If multiple_responses is true the user will be able to select multiple hotspots. \
+ *
+ * @return boolean $multiple_responses \
+ */
+ public function get_multiple_responses()
+ {
return $this->multiple_responses;
}
/**
- * Set Multiple responses \
- * If multiple_responses is true the user will be able to select multiple hotspots. \
- * @param boolean $multiple_responses \
- */
- public function set_multiple_responses ($multiple_responses) {
+ * Set Multiple responses \
+ * If multiple_responses is true the user will be able to select multiple hotspots. \
+ *
+ * @param boolean $multiple_responses \
+ */
+ public function set_multiple_responses($multiple_responses)
+ {
$this->multiple_responses = $multiple_responses;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/hotspot_area_attributes.php b/src/Entities/QuestionTypes/hotspot_area_attributes.php
index 7ff8a3cd..1104a824 100644
--- a/src/Entities/QuestionTypes/hotspot_area_attributes.php
+++ b/src/Entities/QuestionTypes/hotspot_area_attributes.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_area_attributes extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_area_attributes extends BaseQuestionTypeAttribute
+{
protected $global;
protected $individual;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Global \
- * Attributes for all hotspots. \
- * @return hotspot_area_attributes_global $global \
- */
- public function get_global() {
+ * Get Global \
+ * Attributes for all hotspots. \
+ *
+ * @return hotspot_area_attributes_global $global \
+ */
+ public function get_global()
+ {
return $this->global;
}
/**
- * Set Global \
- * Attributes for all hotspots. \
- * @param hotspot_area_attributes_global $global \
- */
- public function set_global (hotspot_area_attributes_global $global) {
+ * Set Global \
+ * Attributes for all hotspots. \
+ *
+ * @param hotspot_area_attributes_global $global \
+ */
+ public function set_global(hotspot_area_attributes_global $global)
+ {
$this->global = $global;
}
/**
- * Get Individual \
- * Individual attributes per hotspot that have precedence over the global hotspot attributes \
- * @return array $individual \
- */
- public function get_individual() {
+ * Get Individual \
+ * Individual attributes per hotspot that have precedence over the global hotspot attributes \
+ *
+ * @return array $individual \
+ */
+ public function get_individual()
+ {
return $this->individual;
}
/**
- * Set Individual \
- * Individual attributes per hotspot that have precedence over the global hotspot attributes \
- * @param array $individual \
- */
- public function set_individual (array $individual) {
+ * Set Individual \
+ * Individual attributes per hotspot that have precedence over the global hotspot attributes \
+ *
+ * @param array $individual \
+ */
+ public function set_individual(array $individual)
+ {
$this->individual = $individual;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot_area_attributes_global.php b/src/Entities/QuestionTypes/hotspot_area_attributes_global.php
index e2b7722b..ece0b365 100644
--- a/src/Entities/QuestionTypes/hotspot_area_attributes_global.php
+++ b/src/Entities/QuestionTypes/hotspot_area_attributes_global.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_area_attributes_global extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_area_attributes_global extends BaseQuestionTypeAttribute
+{
protected $fill;
protected $stroke;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Fill \
- * An RGBA string defining the fill for all hotspots. \
- * @return string $fill \
- */
- public function get_fill() {
+ * Get Fill \
+ * An RGBA string defining the fill for all hotspots. \
+ *
+ * @return string $fill \
+ */
+ public function get_fill()
+ {
return $this->fill;
}
/**
- * Set Fill \
- * An RGBA string defining the fill for all hotspots. \
- * @param string $fill \
- */
- public function set_fill ($fill) {
+ * Set Fill \
+ * An RGBA string defining the fill for all hotspots. \
+ *
+ * @param string $fill \
+ */
+ public function set_fill($fill)
+ {
$this->fill = $fill;
}
/**
- * Get Stroke \
- * An RGBA string defining the stroke for all hotspots. \
- * @return string $stroke \
- */
- public function get_stroke() {
+ * Get Stroke \
+ * An RGBA string defining the stroke for all hotspots. \
+ *
+ * @return string $stroke \
+ */
+ public function get_stroke()
+ {
return $this->stroke;
}
/**
- * Set Stroke \
- * An RGBA string defining the stroke for all hotspots. \
- * @param string $stroke \
- */
- public function set_stroke ($stroke) {
+ * Set Stroke \
+ * An RGBA string defining the stroke for all hotspots. \
+ *
+ * @param string $stroke \
+ */
+ public function set_stroke($stroke)
+ {
$this->stroke = $stroke;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot_area_attributes_individual_item.php b/src/Entities/QuestionTypes/hotspot_area_attributes_individual_item.php
index aa2c7a21..5871bf3b 100644
--- a/src/Entities/QuestionTypes/hotspot_area_attributes_individual_item.php
+++ b/src/Entities/QuestionTypes/hotspot_area_attributes_individual_item.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_area_attributes_individual_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_area_attributes_individual_item extends BaseQuestionTypeAttribute
+{
protected $area;
protected $label;
protected $fill;
protected $stroke;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Area \
- * \
- * @return string $area ie. \
- */
- public function get_area() {
+ * Get Area \
+ * \
+ *
+ * @return string $area ie. \
+ */
+ public function get_area()
+ {
return $this->area;
}
/**
- * Set Area \
- * \
- * @param string $area ie. \
- */
- public function set_area ($area) {
+ * Set Area \
+ * \
+ *
+ * @param string $area ie. \
+ */
+ public function set_area($area)
+ {
$this->area = $area;
}
/**
- * Get Label \
- * A label for the hotspot that is not shown to the student, but is useful when reviewing student responses \
- * @return string $label \
- */
- public function get_label() {
+ * Get Label \
+ * A label for the hotspot that is not shown to the student, but is useful when reviewing student responses \
+ *
+ * @return string $label \
+ */
+ public function get_label()
+ {
return $this->label;
}
/**
- * Set Label \
- * A label for the hotspot that is not shown to the student, but is useful when reviewing student responses \
- * @param string $label \
- */
- public function set_label ($label) {
+ * Set Label \
+ * A label for the hotspot that is not shown to the student, but is useful when reviewing student responses \
+ *
+ * @param string $label \
+ */
+ public function set_label($label)
+ {
$this->label = $label;
}
/**
- * Get Fill \
- * An RGBA string defining the fill for the hotspot \
- * @return string $fill \
- */
- public function get_fill() {
+ * Get Fill \
+ * An RGBA string defining the fill for the hotspot \
+ *
+ * @return string $fill \
+ */
+ public function get_fill()
+ {
return $this->fill;
}
/**
- * Set Fill \
- * An RGBA string defining the fill for the hotspot \
- * @param string $fill \
- */
- public function set_fill ($fill) {
+ * Set Fill \
+ * An RGBA string defining the fill for the hotspot \
+ *
+ * @param string $fill \
+ */
+ public function set_fill($fill)
+ {
$this->fill = $fill;
}
/**
- * Get Stroke \
- * An RGBA string defining the stroke for the hotspot \
- * @return string $stroke \
- */
- public function get_stroke() {
+ * Get Stroke \
+ * An RGBA string defining the stroke for the hotspot \
+ *
+ * @return string $stroke \
+ */
+ public function get_stroke()
+ {
return $this->stroke;
}
/**
- * Set Stroke \
- * An RGBA string defining the stroke for the hotspot \
- * @param string $stroke \
- */
- public function set_stroke ($stroke) {
+ * Set Stroke \
+ * An RGBA string defining the stroke for the hotspot \
+ *
+ * @param string $stroke \
+ */
+ public function set_stroke($stroke)
+ {
$this->stroke = $stroke;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot_image.php b/src/Entities/QuestionTypes/hotspot_image.php
index a033ef51..be4918f4 100644
--- a/src/Entities/QuestionTypes/hotspot_image.php
+++ b/src/Entities/QuestionTypes/hotspot_image.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_image extends BaseQuestionTypeAttribute
+{
protected $source;
protected $width;
protected $height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Source URL \
- * The image that should be displayed. \
- * @return string $source \
- */
- public function get_source() {
+ * Get Source URL \
+ * The image that should be displayed. \
+ *
+ * @return string $source \
+ */
+ public function get_source()
+ {
return $this->source;
}
/**
- * Set Source URL \
- * The image that should be displayed. \
- * @param string $source \
- */
- public function set_source ($source) {
+ * Set Source URL \
+ * The image that should be displayed. \
+ *
+ * @param string $source \
+ */
+ public function set_source($source)
+ {
$this->source = $source;
}
/**
- * Get Width in pixels \
- * The pixel width of the image is needed to calculate the aspect ratio of the image. \
- * @return number $width \
- */
- public function get_width() {
+ * Get Width in pixels \
+ * The pixel width of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @return number $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width in pixels \
- * The pixel width of the image is needed to calculate the aspect ratio of the image. \
- * @param number $width \
- */
- public function set_width ($width) {
+ * Set Width in pixels \
+ * The pixel width of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @param number $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height in pixels \
- * The pixel height of the image is needed to calculate the aspect ratio of the image. \
- * @return number $height \
- */
- public function get_height() {
+ * Get Height in pixels \
+ * The pixel height of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @return number $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height in pixels \
- * The pixel height of the image is needed to calculate the aspect ratio of the image. \
- * @param number $height \
- */
- public function set_height ($height) {
+ * Set Height in pixels \
+ * The pixel height of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @param number $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot_metadata.php b/src/Entities/QuestionTypes/hotspot_metadata.php
index 5ace5b03..8dfd9c23 100644
--- a/src/Entities/QuestionTypes/hotspot_metadata.php
+++ b/src/Entities/QuestionTypes/hotspot_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot_ui_style.php b/src/Entities/QuestionTypes/hotspot_ui_style.php
index 26632a5c..3db04c68 100644
--- a/src/Entities/QuestionTypes/hotspot_ui_style.php
+++ b/src/Entities/QuestionTypes/hotspot_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/hotspot_validation.php b/src/Entities/QuestionTypes/hotspot_validation.php
index 46b8fbf6..3aaf01bd 100644
--- a/src/Entities/QuestionTypes/hotspot_validation.php
+++ b/src/Entities/QuestionTypes/hotspot_validation.php
@@ -5,100 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
+ protected $alt_responses;
protected $rounding;
- public function __construct(
- )
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return hotspot_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return hotspot_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param hotspot_validation_valid_response $valid_response \
- */
- public function set_valid_response (hotspot_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param hotspot_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(hotspot_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
+ return $this->alt_responses;
+ }
+
+ /**
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
+ $this->alt_responses = $alt_responses;
+ }
+
+ /**
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
- public function get_alt_responses() {
- // TODO: Hardcode this stuff until Kerem fix the hotspot question type to support `alt_responses`
- return null;
- }
}
diff --git a/src/Entities/QuestionTypes/hotspot_validation_alt_responses_item.php b/src/Entities/QuestionTypes/hotspot_validation_alt_responses_item.php
new file mode 100644
index 00000000..5f8cad78
--- /dev/null
+++ b/src/Entities/QuestionTypes/hotspot_validation_alt_responses_item.php
@@ -0,0 +1,66 @@
+score;
+ }
+
+ /**
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
+ $this->score = $score;
+ }
+
+ /**
+ * Get Value \
+ * An array containing a single valid response or many if multiple_responses is true. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Set Value \
+ * An array containing a single valid response or many if multiple_responses is true. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
+ $this->value = $value;
+ }
+
+
+}
+
diff --git a/src/Entities/QuestionTypes/hotspot_validation_valid_response.php b/src/Entities/QuestionTypes/hotspot_validation_valid_response.php
index 83a457b7..a8b9c483 100644
--- a/src/Entities/QuestionTypes/hotspot_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/hotspot_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class hotspot_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class hotspot_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing a single valid response or many if multiple_responses is true. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing a single valid response or many if multiple_responses is true. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing a single valid response or many if multiple_responses is true. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing a single valid response or many if multiple_responses is true. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation.php b/src/Entities/QuestionTypes/imageclozeassociation.php
index 562f634f..5732506c 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation extends BaseQuestionType
+{
protected $ui_style;
protected $image;
protected $response_positions;
@@ -25,323 +26,387 @@ class imageclozeassociation extends BaseQuestionType {
protected $img_src;
protected $possible_responses;
protected $duplicate_responses;
-
+
public function __construct(
- imageclozeassociation_image $image,
- array $response_positions,
- $type,
- array $possible_responses
- )
- {
- $this->image = $image;
- $this->response_positions = $response_positions;
- $this->type = $type;
- $this->possible_responses = $possible_responses;
- }
-
- /**
- * Get ui_style \
- * \
- * @return imageclozeassociation_ui_style $ui_style \
- */
- public function get_ui_style() {
+ imageclozeassociation_image $image,
+ array $response_positions,
+ $type,
+ array $possible_responses
+ ) {
+ $this->image = $image;
+ $this->response_positions = $response_positions;
+ $this->type = $type;
+ $this->possible_responses = $possible_responses;
+ }
+
+ /**
+ * Get ui_style \
+ * \
+ *
+ * @return imageclozeassociation_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param imageclozeassociation_ui_style $ui_style \
- */
- public function set_ui_style (imageclozeassociation_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param imageclozeassociation_ui_style $ui_style \
+ */
+ public function set_ui_style(imageclozeassociation_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Image parameters \
- * Defines the attributes/metadata for the image \
- * @return imageclozeassociation_image $image \
- */
- public function get_image() {
+ * Get Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @return imageclozeassociation_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Image parameters \
- * Defines the attributes/metadata for the image \
- * @param imageclozeassociation_image $image \
- */
- public function set_image (imageclozeassociation_image $image) {
+ * Set Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @param imageclozeassociation_image $image \
+ */
+ public function set_image(imageclozeassociation_image $image)
+ {
$this->image = $image;
}
/**
- * Get Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @return array $response_positions \
- */
- public function get_response_positions() {
+ * Get Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @return array $response_positions \
+ */
+ public function get_response_positions()
+ {
return $this->response_positions;
}
/**
- * Set Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @param array $response_positions \
- */
- public function set_response_positions (array $response_positions) {
+ * Set Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @param array $response_positions \
+ */
+ public function set_response_positions(array $response_positions)
+ {
$this->response_positions = $response_positions;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return imageclozeassociation_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return imageclozeassociation_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param imageclozeassociation_response_container $response_container \
- */
- public function set_response_container (imageclozeassociation_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param imageclozeassociation_response_container $response_container \
+ */
+ public function set_response_container(imageclozeassociation_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return imageclozeassociation_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return imageclozeassociation_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param imageclozeassociation_metadata $metadata \
- */
- public function set_metadata (imageclozeassociation_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param imageclozeassociation_metadata $metadata \
+ */
+ public function set_metadata(imageclozeassociation_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return imageclozeassociation_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return imageclozeassociation_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param imageclozeassociation_validation $validation \
- */
- public function set_validation (imageclozeassociation_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param imageclozeassociation_validation $validation \
+ */
+ public function set_validation(imageclozeassociation_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Image URI \
- * Absolute URI for the background image. \
- * @return string $img_src \
- */
- public function get_img_src() {
+ * Get Image URI \
+ * Absolute URI for the background image. \
+ *
+ * @return string $img_src \
+ */
+ public function get_img_src()
+ {
return $this->img_src;
}
/**
- * Set Image URI \
- * Absolute URI for the background image. \
- * @param string $img_src \
- */
- public function set_img_src ($img_src) {
+ * Set Image URI \
+ * Absolute URI for the background image. \
+ *
+ * @param string $img_src \
+ */
+ public function set_img_src($img_src)
+ {
$this->img_src = $img_src;
}
/**
- * Get Possible Responses \
- * Array of strings values that need to be dragged to the actual response position. \
- * @return array $possible_responses \
- */
- public function get_possible_responses() {
+ * Get Possible Responses \
+ * Array of strings values that need to be dragged to the actual response position. \
+ *
+ * @return array $possible_responses \
+ */
+ public function get_possible_responses()
+ {
return $this->possible_responses;
}
/**
- * Set Possible Responses \
- * Array of strings values that need to be dragged to the actual response position. \
- * @param array $possible_responses \
- */
- public function set_possible_responses (array $possible_responses) {
+ * Set Possible Responses \
+ * Array of strings values that need to be dragged to the actual response position. \
+ *
+ * @param array $possible_responses \
+ */
+ public function set_possible_responses(array $possible_responses)
+ {
$this->possible_responses = $possible_responses;
}
/**
- * Get Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @return boolean $duplicate_responses \
- */
- public function get_duplicate_responses() {
+ * Get Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @return boolean $duplicate_responses \
+ */
+ public function get_duplicate_responses()
+ {
return $this->duplicate_responses;
}
/**
- * Set Duplicate responses \
- * When true the items from the possible_responses will be reusable infinite times. \
- * @param boolean $duplicate_responses \
- */
- public function set_duplicate_responses ($duplicate_responses) {
+ * Set Duplicate responses \
+ * When true the items from the possible_responses will be reusable infinite times. \
+ *
+ * @param boolean $duplicate_responses \
+ */
+ public function set_duplicate_responses($duplicate_responses)
+ {
$this->duplicate_responses = $duplicate_responses;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_image.php b/src/Entities/QuestionTypes/imageclozeassociation_image.php
index c0c93583..aa101734 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_image.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_image.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_image extends BaseQuestionTypeAttribute
+{
protected $src;
protected $alt;
protected $title;
protected $scale;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Image URI \
- * \
- * @return string $src \
- */
- public function get_src() {
+ * Get Image URI \
+ * \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Image URI \
- * \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Image URI \
+ * \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get Image alternative text \
- * \
- * @return string $alt \
- */
- public function get_alt() {
+ * Get Image alternative text \
+ * \
+ *
+ * @return string $alt \
+ */
+ public function get_alt()
+ {
return $this->alt;
}
/**
- * Set Image alternative text \
- * \
- * @param string $alt \
- */
- public function set_alt ($alt) {
+ * Set Image alternative text \
+ * \
+ *
+ * @param string $alt \
+ */
+ public function set_alt($alt)
+ {
$this->alt = $alt;
}
/**
- * Get Image title \
- * \
- * @return string $title \
- */
- public function get_title() {
+ * Get Image title \
+ * \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Image title \
- * \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Image title \
+ * \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Image scale \
- * Allow image to be scaled along with font size \
- * @return boolean $scale \
- */
- public function get_scale() {
+ * Get Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @return boolean $scale \
+ */
+ public function get_scale()
+ {
return $this->scale;
}
/**
- * Set Image scale \
- * Allow image to be scaled along with font size \
- * @param boolean $scale \
- */
- public function set_scale ($scale) {
+ * Set Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @param boolean $scale \
+ */
+ public function set_scale($scale)
+ {
$this->scale = $scale;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_metadata.php b/src/Entities/QuestionTypes/imageclozeassociation_metadata.php
index 57d2d357..83f88a0e 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_metadata.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_response_container.php b/src/Entities/QuestionTypes/imageclozeassociation_response_container.php
index 3f668a46..aeabe51d 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_response_container.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_response_container.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_response_container extends BaseQuestionTypeAttribute
+{
protected $pointer;
protected $height;
protected $width;
protected $wordwrap;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @return string $pointer \
- */
- public function get_pointer() {
+ * Get Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @return string $pointer \
+ */
+ public function get_pointer()
+ {
return $this->pointer;
}
/**
- * Set Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @param string $pointer \
- */
- public function set_pointer ($pointer) {
+ * Set Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @param string $pointer \
+ */
+ public function set_pointer($pointer)
+ {
$this->pointer = $pointer;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @return boolean $wordwrap \
- */
- public function get_wordwrap() {
+ * Get Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @return boolean $wordwrap \
+ */
+ public function get_wordwrap()
+ {
return $this->wordwrap;
}
/**
- * Set Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @param boolean $wordwrap \
- */
- public function set_wordwrap ($wordwrap) {
+ * Set Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @param boolean $wordwrap \
+ */
+ public function set_wordwrap($wordwrap)
+ {
$this->wordwrap = $wordwrap;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_response_containers_item.php b/src/Entities/QuestionTypes/imageclozeassociation_response_containers_item.php
index c909950a..f66c3959 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_response_containers_item.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_response_containers_item.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $pointer;
protected $height;
protected $width;
protected $wordwrap;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @return string $pointer \
- */
- public function get_pointer() {
+ * Get Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @return string $pointer \
+ */
+ public function get_pointer()
+ {
return $this->pointer;
}
/**
- * Set Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @param string $pointer \
- */
- public function set_pointer ($pointer) {
+ * Set Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @param string $pointer \
+ */
+ public function set_pointer($pointer)
+ {
$this->pointer = $pointer;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @return boolean $wordwrap \
- */
- public function get_wordwrap() {
+ * Get Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @return boolean $wordwrap \
+ */
+ public function get_wordwrap()
+ {
return $this->wordwrap;
}
/**
- * Set Wordwrap \
- * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
- * @param boolean $wordwrap \
- */
- public function set_wordwrap ($wordwrap) {
+ * Set Wordwrap \
+ * Determines if the possible response text should wrap or show an ellipsis when placed in a response container. \
+ *
+ * @param boolean $wordwrap \
+ */
+ public function set_wordwrap($wordwrap)
+ {
$this->wordwrap = $wordwrap;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_ui_style.php b/src/Entities/QuestionTypes/imageclozeassociation_ui_style.php
index 1b269037..1d8ead62 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_ui_style.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_ui_style.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_ui_style extends BaseQuestionTypeAttribute
+{
protected $possibility_list_position;
protected $fontsize;
protected $validation_stem_numeration;
protected $show_drag_handle;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @return string $possibility_list_position \
- */
- public function get_possibility_list_position() {
+ * Get Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @return string $possibility_list_position \
+ */
+ public function get_possibility_list_position()
+ {
return $this->possibility_list_position;
}
/**
- * Set Possibility List Position \
- * Defines where the possibility list sits relative to the input zone. \
- * @param string $possibility_list_position \
- */
- public function set_possibility_list_position ($possibility_list_position) {
+ * Set Possibility List Position \
+ * Defines where the possibility list sits relative to the input zone. \
+ *
+ * @param string $possibility_list_position \
+ */
+ public function set_possibility_list_position($possibility_list_position)
+ {
$this->possibility_list_position = $possibility_list_position;
}
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Show drag handle \
- * Determines whether to show the drag handle. \
- * @return boolean $show_drag_handle \
- */
- public function get_show_drag_handle() {
+ * Get Show drag handle \
+ * Determines whether to show the drag handle. \
+ *
+ * @return boolean $show_drag_handle \
+ */
+ public function get_show_drag_handle()
+ {
return $this->show_drag_handle;
}
/**
- * Set Show drag handle \
- * Determines whether to show the drag handle. \
- * @param boolean $show_drag_handle \
- */
- public function set_show_drag_handle ($show_drag_handle) {
+ * Set Show drag handle \
+ * Determines whether to show the drag handle. \
+ *
+ * @param boolean $show_drag_handle \
+ */
+ public function set_show_drag_handle($show_drag_handle)
+ {
$this->show_drag_handle = $show_drag_handle;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_validation.php b/src/Entities/QuestionTypes/imageclozeassociation_validation.php
index f86c8a24..e831cdb3 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_validation.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return imageclozeassociation_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return imageclozeassociation_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param imageclozeassociation_validation_valid_response $valid_response \
- */
- public function set_valid_response (imageclozeassociation_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param imageclozeassociation_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(imageclozeassociation_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_validation_alt_responses_item.php b/src/Entities/QuestionTypes/imageclozeassociation_validation_alt_responses_item.php
index fda4b3d6..bef32493 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeassociation_validation_valid_response.php b/src/Entities/QuestionTypes/imageclozeassociation_validation_valid_response.php
index cd8d723f..48a4bde9 100644
--- a/src/Entities/QuestionTypes/imageclozeassociation_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/imageclozeassociation_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeassociation_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeassociation_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each response in response_positions in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each response in response_positions in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each response in response_positions in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each response in response_positions in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry.php b/src/Entities/QuestionTypes/imageclozechemistry.php
index ca9943c1..55d96ea1 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry extends BaseQuestionType
+{
protected $image;
protected $response_positions;
protected $response_container;
@@ -27,361 +28,433 @@ class imageclozechemistry extends BaseQuestionType {
protected $numberPad;
protected $showHints;
protected $symbols;
-
+
public function __construct(
- imageclozechemistry_image $image,
- array $response_positions,
- array $response_containers,
- $type
- )
- {
- $this->image = $image;
- $this->response_positions = $response_positions;
- $this->response_containers = $response_containers;
- $this->type = $type;
- }
-
- /**
- * Get Image parameters \
- * Defines the attributes/metadata for the image \
- * @return imageclozechemistry_image $image \
- */
- public function get_image() {
+ imageclozechemistry_image $image,
+ array $response_positions,
+ array $response_containers,
+ $type
+ ) {
+ $this->image = $image;
+ $this->response_positions = $response_positions;
+ $this->response_containers = $response_containers;
+ $this->type = $type;
+ }
+
+ /**
+ * Get Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @return imageclozechemistry_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Image parameters \
- * Defines the attributes/metadata for the image \
- * @param imageclozechemistry_image $image \
- */
- public function set_image (imageclozechemistry_image $image) {
+ * Set Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @param imageclozechemistry_image $image \
+ */
+ public function set_image(imageclozechemistry_image $image)
+ {
$this->image = $image;
}
/**
- * Get Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @return array $response_positions \
- */
- public function get_response_positions() {
+ * Get Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @return array $response_positions \
+ */
+ public function get_response_positions()
+ {
return $this->response_positions;
}
/**
- * Set Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @param array $response_positions \
- */
- public function set_response_positions (array $response_positions) {
+ * Set Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @param array $response_positions \
+ */
+ public function set_response_positions(array $response_positions)
+ {
$this->response_positions = $response_positions;
}
/**
- * Get Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @return imageclozechemistry_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @return imageclozechemistry_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @param imageclozechemistry_response_container $response_container \
- */
- public function set_response_container (imageclozechemistry_response_container $response_container) {
+ * Set Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @param imageclozechemistry_response_container $response_container \
+ */
+ public function set_response_container(imageclozechemistry_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return imageclozechemistry_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return imageclozechemistry_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param imageclozechemistry_metadata $metadata \
- */
- public function set_metadata (imageclozechemistry_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param imageclozechemistry_metadata $metadata \
+ */
+ public function set_metadata(imageclozechemistry_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return imageclozechemistry_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return imageclozechemistry_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param imageclozechemistry_ui_style $ui_style \
- */
- public function set_ui_style (imageclozechemistry_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param imageclozechemistry_ui_style $ui_style \
+ */
+ public function set_ui_style(imageclozechemistry_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return imageclozechemistry_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return imageclozechemistry_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param imageclozechemistry_validation $validation \
- */
- public function set_validation (imageclozechemistry_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param imageclozechemistry_validation $validation \
+ */
+ public function set_validation(imageclozechemistry_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_image.php b/src/Entities/QuestionTypes/imageclozechemistry_image.php
index 605cdb0c..e650ec9b 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_image.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_image.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_image extends BaseQuestionTypeAttribute
+{
protected $src;
protected $alt;
protected $title;
protected $scale;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Image URI \
- * \
- * @return string $src \
- */
- public function get_src() {
+ * Get Image URI \
+ * \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Image URI \
- * \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Image URI \
+ * \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get Image alternative text \
- * \
- * @return string $alt \
- */
- public function get_alt() {
+ * Get Image alternative text \
+ * \
+ *
+ * @return string $alt \
+ */
+ public function get_alt()
+ {
return $this->alt;
}
/**
- * Set Image alternative text \
- * \
- * @param string $alt \
- */
- public function set_alt ($alt) {
+ * Set Image alternative text \
+ * \
+ *
+ * @param string $alt \
+ */
+ public function set_alt($alt)
+ {
$this->alt = $alt;
}
/**
- * Get Image title \
- * \
- * @return string $title \
- */
- public function get_title() {
+ * Get Image title \
+ * \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Image title \
- * \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Image title \
+ * \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Image scale \
- * Allow image to be scaled along with font size \
- * @return boolean $scale \
- */
- public function get_scale() {
+ * Get Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @return boolean $scale \
+ */
+ public function get_scale()
+ {
return $this->scale;
}
/**
- * Set Image scale \
- * Allow image to be scaled along with font size \
- * @param boolean $scale \
- */
- public function set_scale ($scale) {
+ * Set Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @param boolean $scale \
+ */
+ public function set_scale($scale)
+ {
$this->scale = $scale;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_metadata.php b/src/Entities/QuestionTypes/imageclozechemistry_metadata.php
index 1faf11ca..f46f7908 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_metadata.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_response_container.php b/src/Entities/QuestionTypes/imageclozechemistry_response_container.php
index c34ae839..8edf1165 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_response_container.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_response_container extends BaseQuestionTypeAttribute
+{
protected $template;
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_response_containers_item.php b/src/Entities/QuestionTypes/imageclozechemistry_response_containers_item.php
index c23c9b81..2dedb04a 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_response_containers_item.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $template;
protected $width;
protected $height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Width \
- * \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height \
- * \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_ui_style.php b/src/Entities/QuestionTypes/imageclozechemistry_ui_style.php
index 2beb0567..06ebda9e 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_ui_style.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_ui_style.php
@@ -5,134 +5,158 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $keyboard_below_response_area;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @return boolean $keyboard_below_response_area \
- */
- public function get_keyboard_below_response_area() {
+ * Get Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @return boolean $keyboard_below_response_area \
+ */
+ public function get_keyboard_below_response_area()
+ {
return $this->keyboard_below_response_area;
}
/**
- * Set Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @param boolean $keyboard_below_response_area \
- */
- public function set_keyboard_below_response_area ($keyboard_below_response_area) {
+ * Set Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @param boolean $keyboard_below_response_area \
+ */
+ public function set_keyboard_below_response_area($keyboard_below_response_area)
+ {
$this->keyboard_below_response_area = $keyboard_below_response_area;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_validation.php b/src/Entities/QuestionTypes/imageclozechemistry_validation.php
index af016003..3f6abf19 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_validation.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid Responses \
- * An object containing the valid response score and value. \
- * @return imageclozechemistry_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @return imageclozechemistry_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid Responses \
- * An object containing the valid response score and value. \
- * @param imageclozechemistry_validation_valid_response $valid_response \
- */
- public function set_valid_response (imageclozechemistry_validation_valid_response $valid_response) {
+ * Set Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @param imageclozechemistry_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(imageclozechemistry_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_validation_alt_responses_item.php b/src/Entities/QuestionTypes/imageclozechemistry_validation_alt_responses_item.php
index d29f17e6..e8c12d91 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Values \
- * An array of arrays that contain the valid responses. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Values \
- * An array of arrays that contain the valid responses. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozechemistry_validation_valid_response.php b/src/Entities/QuestionTypes/imageclozechemistry_validation_valid_response.php
index 87b009be..59a8e519 100644
--- a/src/Entities/QuestionTypes/imageclozechemistry_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/imageclozechemistry_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozechemistry_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozechemistry_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown.php b/src/Entities/QuestionTypes/imageclozedropdown.php
index 1ba81775..a61c443b 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown extends BaseQuestionType
+{
protected $image;
protected $response_positions;
protected $response_container;
@@ -24,307 +25,367 @@ class imageclozedropdown extends BaseQuestionType {
protected $validation;
protected $img_src;
protected $possible_responses;
-
+
public function __construct(
- imageclozedropdown_image $image,
- array $response_positions,
- $type,
- array $possible_responses
- )
- {
- $this->image = $image;
- $this->response_positions = $response_positions;
- $this->type = $type;
- $this->possible_responses = $possible_responses;
- }
+ imageclozedropdown_image $image,
+ array $response_positions,
+ $type,
+ array $possible_responses
+ ) {
+ $this->image = $image;
+ $this->response_positions = $response_positions;
+ $this->type = $type;
+ $this->possible_responses = $possible_responses;
+ }
/**
- * Get Image parameters \
- * Defines the attributes/metadata for the image \
- * @return imageclozedropdown_image $image \
- */
- public function get_image() {
+ * Get Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @return imageclozedropdown_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Image parameters \
- * Defines the attributes/metadata for the image \
- * @param imageclozedropdown_image $image \
- */
- public function set_image (imageclozedropdown_image $image) {
+ * Set Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @param imageclozedropdown_image $image \
+ */
+ public function set_image(imageclozedropdown_image $image)
+ {
$this->image = $image;
}
/**
- * Get Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @return array $response_positions \
- */
- public function get_response_positions() {
+ * Get Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @return array $response_positions \
+ */
+ public function get_response_positions()
+ {
return $this->response_positions;
}
/**
- * Set Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @param array $response_positions \
- */
- public function set_response_positions (array $response_positions) {
+ * Set Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @param array $response_positions \
+ */
+ public function set_response_positions(array $response_positions)
+ {
$this->response_positions = $response_positions;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return imageclozedropdown_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return imageclozedropdown_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param imageclozedropdown_response_container $response_container \
- */
- public function set_response_container (imageclozedropdown_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param imageclozedropdown_response_container $response_container \
+ */
+ public function set_response_container(imageclozedropdown_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return imageclozedropdown_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return imageclozedropdown_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param imageclozedropdown_metadata $metadata \
- */
- public function set_metadata (imageclozedropdown_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param imageclozedropdown_metadata $metadata \
+ */
+ public function set_metadata(imageclozedropdown_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return imageclozedropdown_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return imageclozedropdown_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param imageclozedropdown_ui_style $ui_style \
- */
- public function set_ui_style (imageclozedropdown_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param imageclozedropdown_ui_style $ui_style \
+ */
+ public function set_ui_style(imageclozedropdown_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return imageclozedropdown_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return imageclozedropdown_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param imageclozedropdown_validation $validation \
- */
- public function set_validation (imageclozedropdown_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param imageclozedropdown_validation $validation \
+ */
+ public function set_validation(imageclozedropdown_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Image URI \
- * Absolute URI for the background image. \
- * @return string $img_src \
- */
- public function get_img_src() {
+ * Get Image URI \
+ * Absolute URI for the background image. \
+ *
+ * @return string $img_src \
+ */
+ public function get_img_src()
+ {
return $this->img_src;
}
/**
- * Set Image URI \
- * Absolute URI for the background image. \
- * @param string $img_src \
- */
- public function set_img_src ($img_src) {
+ * Set Image URI \
+ * Absolute URI for the background image. \
+ *
+ * @param string $img_src \
+ */
+ public function set_img_src($img_src)
+ {
$this->img_src = $img_src;
}
/**
- * Get Possible Responses \
- * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
- order within the dropdown. \
- * @return array $possible_responses \
- */
- public function get_possible_responses() {
+ * Get Possible Responses \
+ * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
+ * order within the dropdown. \
+ *
+ * @return array $possible_responses \
+ */
+ public function get_possible_responses()
+ {
return $this->possible_responses;
}
/**
- * Set Possible Responses \
- * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
- order within the dropdown. \
- * @param array $possible_responses \
- */
- public function set_possible_responses (array $possible_responses) {
+ * Set Possible Responses \
+ * Array of string arrays. They tie to the index position of the {{response}}s found in the HTML string and are rendered in
+ * order within the dropdown. \
+ *
+ * @param array $possible_responses \
+ */
+ public function set_possible_responses(array $possible_responses)
+ {
$this->possible_responses = $possible_responses;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_image.php b/src/Entities/QuestionTypes/imageclozedropdown_image.php
index ef61300f..9b04ed5a 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_image.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_image.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_image extends BaseQuestionTypeAttribute
+{
protected $src;
protected $alt;
protected $title;
protected $scale;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Image URI \
- * \
- * @return string $src \
- */
- public function get_src() {
+ * Get Image URI \
+ * \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Image URI \
- * \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Image URI \
+ * \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get Image alternative text \
- * \
- * @return string $alt \
- */
- public function get_alt() {
+ * Get Image alternative text \
+ * \
+ *
+ * @return string $alt \
+ */
+ public function get_alt()
+ {
return $this->alt;
}
/**
- * Set Image alternative text \
- * \
- * @param string $alt \
- */
- public function set_alt ($alt) {
+ * Set Image alternative text \
+ * \
+ *
+ * @param string $alt \
+ */
+ public function set_alt($alt)
+ {
$this->alt = $alt;
}
/**
- * Get Image title \
- * \
- * @return string $title \
- */
- public function get_title() {
+ * Get Image title \
+ * \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Image title \
- * \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Image title \
+ * \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Image scale \
- * Allow image to be scaled along with font size \
- * @return boolean $scale \
- */
- public function get_scale() {
+ * Get Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @return boolean $scale \
+ */
+ public function get_scale()
+ {
return $this->scale;
}
/**
- * Set Image scale \
- * Allow image to be scaled along with font size \
- * @param boolean $scale \
- */
- public function set_scale ($scale) {
+ * Set Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @param boolean $scale \
+ */
+ public function set_scale($scale)
+ {
$this->scale = $scale;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_metadata.php b/src/Entities/QuestionTypes/imageclozedropdown_metadata.php
index c65d2007..61388c42 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_metadata.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_response_container.php b/src/Entities/QuestionTypes/imageclozedropdown_response_container.php
index c03c20f0..ccca8229 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_response_container.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_response_container.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_response_container extends BaseQuestionTypeAttribute
+{
protected $pointer;
protected $height;
protected $width;
protected $placeholder;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @return string $pointer \
- */
- public function get_pointer() {
+ * Get Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @return string $pointer \
+ */
+ public function get_pointer()
+ {
return $this->pointer;
}
/**
- * Set Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @param string $pointer \
- */
- public function set_pointer ($pointer) {
+ * Set Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @param string $pointer \
+ */
+ public function set_pointer($pointer)
+ {
$this->pointer = $pointer;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_response_containers_item.php b/src/Entities/QuestionTypes/imageclozedropdown_response_containers_item.php
index db0fb031..0635e9e1 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_response_containers_item.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_response_containers_item.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $pointer;
protected $height;
protected $width;
protected $placeholder;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @return string $pointer \
- */
- public function get_pointer() {
+ * Get Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @return string $pointer \
+ */
+ public function get_pointer()
+ {
return $this->pointer;
}
/**
- * Set Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @param string $pointer \
- */
- public function set_pointer ($pointer) {
+ * Set Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @param string $pointer \
+ */
+ public function set_pointer($pointer)
+ {
$this->pointer = $pointer;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_ui_style.php b/src/Entities/QuestionTypes/imageclozedropdown_ui_style.php
index 5f7faef2..70e2f839 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_ui_style.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_validation.php b/src/Entities/QuestionTypes/imageclozedropdown_validation.php
index 4a40aba3..0685cf26 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_validation.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return imageclozedropdown_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return imageclozedropdown_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param imageclozedropdown_validation_valid_response $valid_response \
- */
- public function set_valid_response (imageclozedropdown_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param imageclozedropdown_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(imageclozedropdown_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_validation_alt_responses_item.php b/src/Entities/QuestionTypes/imageclozedropdown_validation_alt_responses_item.php
index 3b1b548f..24393d5e 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozedropdown_validation_valid_response.php b/src/Entities/QuestionTypes/imageclozedropdown_validation_valid_response.php
index ac1f2c48..2304ca85 100644
--- a/src/Entities/QuestionTypes/imageclozedropdown_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/imageclozedropdown_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozedropdown_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozedropdown_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each response in the template in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each response in the template in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each response in the template in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each response in the template in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula.php b/src/Entities/QuestionTypes/imageclozeformula.php
index faf7150d..7187f70d 100644
--- a/src/Entities/QuestionTypes/imageclozeformula.php
+++ b/src/Entities/QuestionTypes/imageclozeformula.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula extends BaseQuestionType
+{
protected $image;
protected $response_positions;
protected $response_container;
@@ -27,361 +28,433 @@ class imageclozeformula extends BaseQuestionType {
protected $numberPad;
protected $showHints;
protected $symbols;
-
+
public function __construct(
- imageclozeformula_image $image,
- array $response_positions,
- array $response_containers,
- $type
- )
- {
- $this->image = $image;
- $this->response_positions = $response_positions;
- $this->response_containers = $response_containers;
- $this->type = $type;
- }
-
- /**
- * Get Image parameters \
- * Defines the attributes/metadata for the image \
- * @return imageclozeformula_image $image \
- */
- public function get_image() {
+ imageclozeformula_image $image,
+ array $response_positions,
+ array $response_containers,
+ $type
+ ) {
+ $this->image = $image;
+ $this->response_positions = $response_positions;
+ $this->response_containers = $response_containers;
+ $this->type = $type;
+ }
+
+ /**
+ * Get Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @return imageclozeformula_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Image parameters \
- * Defines the attributes/metadata for the image \
- * @param imageclozeformula_image $image \
- */
- public function set_image (imageclozeformula_image $image) {
+ * Set Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @param imageclozeformula_image $image \
+ */
+ public function set_image(imageclozeformula_image $image)
+ {
$this->image = $image;
}
/**
- * Get Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @return array $response_positions \
- */
- public function get_response_positions() {
+ * Get Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @return array $response_positions \
+ */
+ public function get_response_positions()
+ {
return $this->response_positions;
}
/**
- * Set Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @param array $response_positions \
- */
- public function set_response_positions (array $response_positions) {
+ * Set Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @param array $response_positions \
+ */
+ public function set_response_positions(array $response_positions)
+ {
$this->response_positions = $response_positions;
}
/**
- * Get Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @return imageclozeformula_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @return imageclozeformula_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Define the template and dimensions for all response containers \
- * @param imageclozeformula_response_container $response_container \
- */
- public function set_response_container (imageclozeformula_response_container $response_container) {
+ * Set Response Container (global) \
+ * Define the template and dimensions for all response containers \
+ *
+ * @param imageclozeformula_response_container $response_container \
+ */
+ public function set_response_container(imageclozeformula_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Containers (individual) \
- * Nest response containers within the question template's response areas \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Containers (individual) \
+ * Nest response containers within the question template's response areas \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @return string $handwriting_recognises ie. standard, mathbasic \
- */
- public function get_handwriting_recognises() {
+ * Get Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @return string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function get_handwriting_recognises()
+ {
return $this->handwriting_recognises;
}
/**
- * Set Handwriting Recognises \
- * A string with the name of one of the available math grammar sets. \
- * @param string $handwriting_recognises ie. standard, mathbasic \
- */
- public function set_handwriting_recognises ($handwriting_recognises) {
+ * Set Handwriting Recognises \
+ * A string with the name of one of the available math grammar sets. \
+ *
+ * @param string $handwriting_recognises ie. standard, mathbasic \
+ */
+ public function set_handwriting_recognises($handwriting_recognises)
+ {
$this->handwriting_recognises = $handwriting_recognises;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return imageclozeformula_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return imageclozeformula_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param imageclozeformula_metadata $metadata \
- */
- public function set_metadata (imageclozeformula_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param imageclozeformula_metadata $metadata \
+ */
+ public function set_metadata(imageclozeformula_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return imageclozeformula_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return imageclozeformula_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param imageclozeformula_ui_style $ui_style \
- */
- public function set_ui_style (imageclozeformula_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param imageclozeformula_ui_style $ui_style \
+ */
+ public function set_ui_style(imageclozeformula_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return imageclozeformula_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return imageclozeformula_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param imageclozeformula_validation $validation \
- */
- public function set_validation (imageclozeformula_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param imageclozeformula_validation $validation \
+ */
+ public function set_validation(imageclozeformula_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @return array $text_blocks \
- */
- public function get_text_blocks() {
+ * Get Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @return array $text_blocks \
+ */
+ public function get_text_blocks()
+ {
return $this->text_blocks;
}
/**
- * Set Text blocks \
- * List of custom text blocks. Maximum length 9 characters. \
- * @param array $text_blocks \
- */
- public function set_text_blocks (array $text_blocks) {
+ * Set Text blocks \
+ * List of custom text blocks. Maximum length 9 characters. \
+ *
+ * @param array $text_blocks \
+ */
+ public function set_text_blocks(array $text_blocks)
+ {
$this->text_blocks = $text_blocks;
}
/**
- * Get Custom Number Pad \
- * \
- * @return array $numberPad \
- */
- public function get_numberPad() {
+ * Get Custom Number Pad \
+ * \
+ *
+ * @return array $numberPad \
+ */
+ public function get_numberPad()
+ {
return $this->numberPad;
}
/**
- * Set Custom Number Pad \
- * \
- * @param array $numberPad \
- */
- public function set_numberPad (array $numberPad) {
+ * Set Custom Number Pad \
+ * \
+ *
+ * @param array $numberPad \
+ */
+ public function set_numberPad(array $numberPad)
+ {
$this->numberPad = $numberPad;
}
/**
- * Get Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @return boolean $showHints \
- */
- public function get_showHints() {
+ * Get Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @return boolean $showHints \
+ */
+ public function get_showHints()
+ {
return $this->showHints;
}
/**
- * Set Show Hints \
- * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
- a symbol group key. \
- * @param boolean $showHints \
- */
- public function set_showHints ($showHints) {
+ * Set Show Hints \
+ * Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over
+ * a symbol group key. \
+ *
+ * @param boolean $showHints \
+ */
+ public function set_showHints($showHints)
+ {
$this->showHints = $showHints;
}
/**
- * Get Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @return array $symbols \
- */
- public function get_symbols() {
+ * Get Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @return array $symbols \
+ */
+ public function get_symbols()
+ {
return $this->symbols;
}
/**
- * Set Symbols \
- * An array containing either strings or a nested objects of symbol definitions. \
- * @param array $symbols \
- */
- public function set_symbols (array $symbols) {
+ * Set Symbols \
+ * An array containing either strings or a nested objects of symbol definitions. \
+ *
+ * @param array $symbols \
+ */
+ public function set_symbols(array $symbols)
+ {
$this->symbols = $symbols;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_image.php b/src/Entities/QuestionTypes/imageclozeformula_image.php
index 73895497..125a1bdb 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_image.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_image.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_image extends BaseQuestionTypeAttribute
+{
protected $src;
protected $alt;
protected $title;
protected $scale;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Image URI \
- * \
- * @return string $src \
- */
- public function get_src() {
+ * Get Image URI \
+ * \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Image URI \
- * \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Image URI \
+ * \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get Image alternative text \
- * \
- * @return string $alt \
- */
- public function get_alt() {
+ * Get Image alternative text \
+ * \
+ *
+ * @return string $alt \
+ */
+ public function get_alt()
+ {
return $this->alt;
}
/**
- * Set Image alternative text \
- * \
- * @param string $alt \
- */
- public function set_alt ($alt) {
+ * Set Image alternative text \
+ * \
+ *
+ * @param string $alt \
+ */
+ public function set_alt($alt)
+ {
$this->alt = $alt;
}
/**
- * Get Image title \
- * \
- * @return string $title \
- */
- public function get_title() {
+ * Get Image title \
+ * \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Image title \
- * \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Image title \
+ * \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Image scale \
- * Allow image to be scaled along with font size \
- * @return boolean $scale \
- */
- public function get_scale() {
+ * Get Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @return boolean $scale \
+ */
+ public function get_scale()
+ {
return $this->scale;
}
/**
- * Set Image scale \
- * Allow image to be scaled along with font size \
- * @param boolean $scale \
- */
- public function set_scale ($scale) {
+ * Set Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @param boolean $scale \
+ */
+ public function set_scale($scale)
+ {
$this->scale = $scale;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_metadata.php b/src/Entities/QuestionTypes/imageclozeformula_metadata.php
index f89deb95..2e1e67bd 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_metadata.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_response_container.php b/src/Entities/QuestionTypes/imageclozeformula_response_container.php
index 6a3742bc..33aed583 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_response_container.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_response_container.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_response_container extends BaseQuestionTypeAttribute
+{
protected $template;
protected $height;
protected $width;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_response_containers_item.php b/src/Entities/QuestionTypes/imageclozeformula_response_containers_item.php
index 79125dc2..f7d2fda2 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_response_containers_item.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_response_containers_item.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $template;
protected $width;
protected $height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Template \
- * \
- * @return string $template \
- */
- public function get_template() {
+ * Get Template \
+ * \
+ *
+ * @return string $template \
+ */
+ public function get_template()
+ {
return $this->template;
}
/**
- * Set Template \
- * \
- * @param string $template \
- */
- public function set_template ($template) {
+ * Set Template \
+ * \
+ *
+ * @param string $template \
+ */
+ public function set_template($template)
+ {
$this->template = $template;
}
/**
- * Get Width \
- * \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height \
- * \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_ui_style.php b/src/Entities/QuestionTypes/imageclozeformula_ui_style.php
index 3c961135..50a6e622 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_ui_style.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_ui_style.php
@@ -5,134 +5,158 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
protected $response_font_scale;
protected $type;
protected $min_width;
protected $keyboard_below_response_area;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
/**
- * Get Response font scale \
- * This scales the font relative to the question's font size. \
- * @return string $response_font_scale \
- */
- public function get_response_font_scale() {
+ * Get Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @return string $response_font_scale \
+ */
+ public function get_response_font_scale()
+ {
return $this->response_font_scale;
}
/**
- * Set Response font scale \
- * This scales the font relative to the question's font size. \
- * @param string $response_font_scale \
- */
- public function set_response_font_scale ($response_font_scale) {
+ * Set Response font scale \
+ * This scales the font relative to the question's font size. \
+ *
+ * @param string $response_font_scale \
+ */
+ public function set_response_font_scale($response_font_scale)
+ {
$this->response_font_scale = $response_font_scale;
}
/**
- * Get Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @return string $type \
- */
- public function get_type() {
+ * Get Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Type \
- * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Type \
+ * Keyboard style. See the knowledgebase article on formula keyboard types for more information. \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @return string $min_width \
- */
- public function get_min_width() {
+ * Get Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @return string $min_width \
+ */
+ public function get_min_width()
+ {
return $this->min_width;
}
/**
- * Set Response minimum width \
- * Controls the minimum width of the response input area, e.g. 550px \
- * @param string $min_width \
- */
- public function set_min_width ($min_width) {
+ * Set Response minimum width \
+ * Controls the minimum width of the response input area, e.g. 550px \
+ *
+ * @param string $min_width \
+ */
+ public function set_min_width($min_width)
+ {
$this->min_width = $min_width;
}
/**
- * Get Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @return boolean $keyboard_below_response_area \
- */
- public function get_keyboard_below_response_area() {
+ * Get Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @return boolean $keyboard_below_response_area \
+ */
+ public function get_keyboard_below_response_area()
+ {
return $this->keyboard_below_response_area;
}
/**
- * Set Position floating keyboard below question response area \
- * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
- editor in the question). \
- * @param boolean $keyboard_below_response_area \
- */
- public function set_keyboard_below_response_area ($keyboard_below_response_area) {
+ * Set Position floating keyboard below question response area \
+ * If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math
+ * editor in the question). \
+ *
+ * @param boolean $keyboard_below_response_area \
+ */
+ public function set_keyboard_below_response_area($keyboard_below_response_area)
+ {
$this->keyboard_below_response_area = $keyboard_below_response_area;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_validation.php b/src/Entities/QuestionTypes/imageclozeformula_validation.php
index d1d7982b..12fd8429 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_validation.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid Responses \
- * An object containing the valid response score and value. \
- * @return imageclozeformula_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @return imageclozeformula_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid Responses \
- * An object containing the valid response score and value. \
- * @param imageclozeformula_validation_valid_response $valid_response \
- */
- public function set_valid_response (imageclozeformula_validation_valid_response $valid_response) {
+ * Set Valid Responses \
+ * An object containing the valid response score and value. \
+ *
+ * @param imageclozeformula_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(imageclozeformula_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_validation_alt_responses_item.php b/src/Entities/QuestionTypes/imageclozeformula_validation_alt_responses_item.php
index cdec24c5..c85b6ada 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Values \
- * An array of arrays that contain the valid responses. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Values \
- * An array of arrays that contain the valid responses. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Values \
+ * An array of arrays that contain the valid responses. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozeformula_validation_valid_response.php b/src/Entities/QuestionTypes/imageclozeformula_validation_valid_response.php
index 780fe8d1..e16fefdb 100644
--- a/src/Entities/QuestionTypes/imageclozeformula_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/imageclozeformula_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozeformula_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozeformula_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Equation Values \
- * A collection of arrays containing objects with the valid response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Equation Values \
+ * A collection of arrays containing objects with the valid response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext.php b/src/Entities/QuestionTypes/imageclozetext.php
index beed19aa..94f8bf29 100644
--- a/src/Entities/QuestionTypes/imageclozetext.php
+++ b/src/Entities/QuestionTypes/imageclozetext.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext extends BaseQuestionType
+{
protected $image;
protected $response_positions;
protected $response_container;
@@ -28,389 +29,465 @@ class imageclozetext extends BaseQuestionType {
protected $multiple_line;
protected $spellcheck;
protected $case_sensitive;
-
+
public function __construct(
- imageclozetext_image $image,
- array $response_positions,
- $type
- )
- {
- $this->image = $image;
- $this->response_positions = $response_positions;
- $this->type = $type;
- }
-
- /**
- * Get Image parameters \
- * Defines the attributes/metadata for the image \
- * @return imageclozetext_image $image \
- */
- public function get_image() {
+ imageclozetext_image $image,
+ array $response_positions,
+ $type
+ ) {
+ $this->image = $image;
+ $this->response_positions = $response_positions;
+ $this->type = $type;
+ }
+
+ /**
+ * Get Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @return imageclozetext_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Image parameters \
- * Defines the attributes/metadata for the image \
- * @param imageclozetext_image $image \
- */
- public function set_image (imageclozetext_image $image) {
+ * Set Image parameters \
+ * Defines the attributes/metadata for the image \
+ *
+ * @param imageclozetext_image $image \
+ */
+ public function set_image(imageclozetext_image $image)
+ {
$this->image = $image;
}
/**
- * Get Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @return array $response_positions \
- */
- public function get_response_positions() {
+ * Get Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @return array $response_positions \
+ */
+ public function get_response_positions()
+ {
return $this->response_positions;
}
/**
- * Set Response Positions \
- * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
- e top left corner of the image. \
- * @param array $response_positions \
- */
- public function set_response_positions (array $response_positions) {
+ * Set Response Positions \
+ * Array of responsePosition objects (x and y) indicating the distance of the top left corner of the response field from th
+ * e top left corner of the image. \
+ *
+ * @param array $response_positions \
+ */
+ public function set_response_positions(array $response_positions)
+ {
$this->response_positions = $response_positions;
}
/**
- * Get Response Container (global) \
- * Object that defines styles for the response container. \
- * @return imageclozetext_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @return imageclozetext_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response Container (global) \
- * Object that defines styles for the response container. \
- * @param imageclozetext_response_container $response_container \
- */
- public function set_response_container (imageclozetext_response_container $response_container) {
+ * Set Response Container (global) \
+ * Object that defines styles for the response container. \
+ *
+ * @param imageclozetext_response_container $response_container \
+ */
+ public function set_response_container(imageclozetext_response_container $response_container)
+ {
$this->response_container = $response_container;
}
/**
- * Get Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @return array $response_containers \
- */
- public function get_response_containers() {
+ * Get Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return array $response_containers \
+ */
+ public function get_response_containers()
+ {
return $this->response_containers;
}
/**
- * Set Response Container (individual) \
- * Array containing objects defining each individual response container style. \
- * @param array $response_containers \
- */
- public function set_response_containers (array $response_containers) {
+ * Set Response Container (individual) \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param array $response_containers \
+ */
+ public function set_response_containers(array $response_containers)
+ {
$this->response_containers = $response_containers;
}
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return imageclozetext_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return imageclozetext_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param imageclozetext_metadata $metadata \
- */
- public function set_metadata (imageclozetext_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param imageclozetext_metadata $metadata \
+ */
+ public function set_metadata(imageclozetext_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return imageclozetext_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return imageclozetext_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param imageclozetext_ui_style $ui_style \
- */
- public function set_ui_style (imageclozetext_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param imageclozetext_ui_style $ui_style \
+ */
+ public function set_ui_style(imageclozetext_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return imageclozetext_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return imageclozetext_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param imageclozetext_validation $validation \
- */
- public function set_validation (imageclozetext_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param imageclozetext_validation $validation \
+ */
+ public function set_validation(imageclozetext_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Image URI \
- * Absolute URI for the background image. \
- * @return string $img_src \
- */
- public function get_img_src() {
+ * Get Image URI \
+ * Absolute URI for the background image. \
+ *
+ * @return string $img_src \
+ */
+ public function get_img_src()
+ {
return $this->img_src;
}
/**
- * Set Image URI \
- * Absolute URI for the background image. \
- * @param string $img_src \
- */
- public function set_img_src ($img_src) {
+ * Set Image URI \
+ * Absolute URI for the background image. \
+ *
+ * @param string $img_src \
+ */
+ public function set_img_src($img_src)
+ {
$this->img_src = $img_src;
}
/**
- * Get Maximum Length (characters) \
- * Maximum number of characters that can be entered in the field. Maximum value is 250. \
- * @return number $max_length \
- */
- public function get_max_length() {
+ * Get Maximum Length (characters) \
+ * Maximum number of characters that can be entered in the field. Maximum value is 250. \
+ *
+ * @return number $max_length \
+ */
+ public function get_max_length()
+ {
return $this->max_length;
}
/**
- * Set Maximum Length (characters) \
- * Maximum number of characters that can be entered in the field. Maximum value is 250. \
- * @param number $max_length \
- */
- public function set_max_length ($max_length) {
+ * Set Maximum Length (characters) \
+ * Maximum number of characters that can be entered in the field. Maximum value is 250. \
+ *
+ * @param number $max_length \
+ */
+ public function set_max_length($max_length)
+ {
$this->max_length = $max_length;
}
/**
- * Get Character Map \
- * If true, the character map button will display within the text field. The character map will display the default set of special characters.
-If an Array, the character map button will s
- how and display only the array of characters.
IMPORTANTThe HTML document w
- ill require a charset of utf-8: <meta charset="utf-8">
\
- * @return $character_map \
- */
- public function get_character_map() {
+ * Get Character Map \
+ * If true, the character map button will display within the text field. The character map will display the default set of special characters.
+ * If an Array, the character map button will s
+ * how and display only the array of characters.
IMPORTANTThe HTML document w
+ * ill require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @return $character_map \
+ */
+ public function get_character_map()
+ {
return $this->character_map;
}
/**
- * Set Character Map \
- * If true, the character map button will display within the text field. The character map will display the default set of special characters.
-If an Array, the character map button will s
- how and display only the array of characters.
IMPORTANTThe HTML document w
- ill require a charset of utf-8: <meta charset="utf-8">
\
- * @param $character_map \
- */
- public function set_character_map ($character_map) {
+ * Set Character Map \
+ * If true, the character map button will display within the text field. The character map will display the default set of special characters.
+ * If an Array, the character map button will s
+ * how and display only the array of characters.
IMPORTANTThe HTML document w
+ * ill require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @param $character_map \
+ */
+ public function set_character_map($character_map)
+ {
$this->character_map = $character_map;
}
/**
- * Get Multiple Line \
- * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
- text input only supporting one line responses. \
- * @return boolean $multiple_line \
- */
- public function get_multiple_line() {
+ * Get Multiple Line \
+ * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
+ * text input only supporting one line responses. \
+ *
+ * @return boolean $multiple_line \
+ */
+ public function get_multiple_line()
+ {
return $this->multiple_line;
}
/**
- * Set Multiple Line \
- * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
- text input only supporting one line responses. \
- * @param boolean $multiple_line \
- */
- public function set_multiple_line ($multiple_line) {
+ * Set Multiple Line \
+ * If true the response input will be a text area supporting multiple lines of input. If false the response input will be a
+ * text input only supporting one line responses. \
+ *
+ * @param boolean $multiple_line \
+ */
+ public function set_multiple_line($multiple_line)
+ {
$this->multiple_line = $multiple_line;
}
/**
- * Get Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @return boolean $spellcheck \
- */
- public function get_spellcheck() {
+ * Get Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @return boolean $spellcheck \
+ */
+ public function get_spellcheck()
+ {
return $this->spellcheck;
}
/**
- * Set Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @param boolean $spellcheck \
- */
- public function set_spellcheck ($spellcheck) {
+ * Set Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @param boolean $spellcheck \
+ */
+ public function set_spellcheck($spellcheck)
+ {
$this->spellcheck = $spellcheck;
}
/**
- * Get Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @return boolean $case_sensitive \
- */
- public function get_case_sensitive() {
+ * Get Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @return boolean $case_sensitive \
+ */
+ public function get_case_sensitive()
+ {
return $this->case_sensitive;
}
/**
- * Set Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @param boolean $case_sensitive \
- */
- public function set_case_sensitive ($case_sensitive) {
+ * Set Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @param boolean $case_sensitive \
+ */
+ public function set_case_sensitive($case_sensitive)
+ {
$this->case_sensitive = $case_sensitive;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_image.php b/src/Entities/QuestionTypes/imageclozetext_image.php
index 7eaf4210..b60892a9 100644
--- a/src/Entities/QuestionTypes/imageclozetext_image.php
+++ b/src/Entities/QuestionTypes/imageclozetext_image.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_image extends BaseQuestionTypeAttribute
+{
protected $src;
protected $alt;
protected $title;
protected $scale;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Image URI \
- * \
- * @return string $src \
- */
- public function get_src() {
+ * Get Image URI \
+ * \
+ *
+ * @return string $src \
+ */
+ public function get_src()
+ {
return $this->src;
}
/**
- * Set Image URI \
- * \
- * @param string $src \
- */
- public function set_src ($src) {
+ * Set Image URI \
+ * \
+ *
+ * @param string $src \
+ */
+ public function set_src($src)
+ {
$this->src = $src;
}
/**
- * Get Image alternative text \
- * \
- * @return string $alt \
- */
- public function get_alt() {
+ * Get Image alternative text \
+ * \
+ *
+ * @return string $alt \
+ */
+ public function get_alt()
+ {
return $this->alt;
}
/**
- * Set Image alternative text \
- * \
- * @param string $alt \
- */
- public function set_alt ($alt) {
+ * Set Image alternative text \
+ * \
+ *
+ * @param string $alt \
+ */
+ public function set_alt($alt)
+ {
$this->alt = $alt;
}
/**
- * Get Image title \
- * \
- * @return string $title \
- */
- public function get_title() {
+ * Get Image title \
+ * \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Image title \
- * \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Image title \
+ * \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
/**
- * Get Image scale \
- * Allow image to be scaled along with font size \
- * @return boolean $scale \
- */
- public function get_scale() {
+ * Get Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @return boolean $scale \
+ */
+ public function get_scale()
+ {
return $this->scale;
}
/**
- * Set Image scale \
- * Allow image to be scaled along with font size \
- * @param boolean $scale \
- */
- public function set_scale ($scale) {
+ * Set Image scale \
+ * Allow image to be scaled along with font size \
+ *
+ * @param boolean $scale \
+ */
+ public function set_scale($scale)
+ {
$this->scale = $scale;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_metadata.php b/src/Entities/QuestionTypes/imageclozetext_metadata.php
index 6cee8b86..a62a6706 100644
--- a/src/Entities/QuestionTypes/imageclozetext_metadata.php
+++ b/src/Entities/QuestionTypes/imageclozetext_metadata.php
@@ -5,113 +5,133 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_response_container.php b/src/Entities/QuestionTypes/imageclozetext_response_container.php
index 452497a4..3921fe4d 100644
--- a/src/Entities/QuestionTypes/imageclozetext_response_container.php
+++ b/src/Entities/QuestionTypes/imageclozetext_response_container.php
@@ -5,111 +5,131 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_response_container extends BaseQuestionTypeAttribute
+{
protected $pointer;
protected $height;
protected $width;
protected $placeholder;
protected $input_type;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @return string $pointer \
- */
- public function get_pointer() {
+ * Get Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @return string $pointer \
+ */
+ public function get_pointer()
+ {
return $this->pointer;
}
/**
- * Set Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @param string $pointer \
- */
- public function set_pointer ($pointer) {
+ * Set Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @param string $pointer \
+ */
+ public function set_pointer($pointer)
+ {
$this->pointer = $pointer;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
/**
- * Get Input type \
- * Type of input \
- * @return string $input_type \
- */
- public function get_input_type() {
+ * Get Input type \
+ * Type of input \
+ *
+ * @return string $input_type \
+ */
+ public function get_input_type()
+ {
return $this->input_type;
}
/**
- * Set Input type \
- * Type of input \
- * @param string $input_type \
- */
- public function set_input_type ($input_type) {
+ * Set Input type \
+ * Type of input \
+ *
+ * @param string $input_type \
+ */
+ public function set_input_type($input_type)
+ {
$this->input_type = $input_type;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_response_containers_item.php b/src/Entities/QuestionTypes/imageclozetext_response_containers_item.php
index 509c4b6f..08938fc7 100644
--- a/src/Entities/QuestionTypes/imageclozetext_response_containers_item.php
+++ b/src/Entities/QuestionTypes/imageclozetext_response_containers_item.php
@@ -5,111 +5,131 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_response_containers_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_response_containers_item extends BaseQuestionTypeAttribute
+{
protected $pointer;
protected $height;
protected $width;
protected $placeholder;
protected $input_type;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @return string $pointer \
- */
- public function get_pointer() {
+ * Get Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @return string $pointer \
+ */
+ public function get_pointer()
+ {
return $this->pointer;
}
/**
- * Set Pointer \
- * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
- * @param string $pointer \
- */
- public function set_pointer ($pointer) {
+ * Set Pointer \
+ * Add response pointer next to the response container. Values can be one of 'top', 'right', 'bottom', 'left' \
+ *
+ * @param string $pointer \
+ */
+ public function set_pointer($pointer)
+ {
$this->pointer = $pointer;
}
/**
- * Get Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * The height of the cloze response containers including units. Example: "100px" \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * The height of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * The width of the cloze response containers including units. Example: "100px" \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * The width of the cloze response containers including units. Example: "100px" \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
/**
- * Get Input type \
- * Type of input \
- * @return string $input_type \
- */
- public function get_input_type() {
+ * Get Input type \
+ * Type of input \
+ *
+ * @return string $input_type \
+ */
+ public function get_input_type()
+ {
return $this->input_type;
}
/**
- * Set Input type \
- * Type of input \
- * @param string $input_type \
- */
- public function set_input_type ($input_type) {
+ * Set Input type \
+ * Type of input \
+ *
+ * @param string $input_type \
+ */
+ public function set_input_type($input_type)
+ {
$this->input_type = $input_type;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_ui_style.php b/src/Entities/QuestionTypes/imageclozetext_ui_style.php
index 5da8bec7..972b0cad 100644
--- a/src/Entities/QuestionTypes/imageclozetext_ui_style.php
+++ b/src/Entities/QuestionTypes/imageclozetext_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_validation.php b/src/Entities/QuestionTypes/imageclozetext_validation.php
index e322ef88..eb591ee5 100644
--- a/src/Entities/QuestionTypes/imageclozetext_validation.php
+++ b/src/Entities/QuestionTypes/imageclozetext_validation.php
@@ -5,119 +5,139 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return imageclozetext_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return imageclozetext_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param imageclozetext_validation_valid_response $valid_response \
- */
- public function set_valid_response (imageclozetext_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param imageclozetext_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(imageclozetext_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_validation_alt_responses_item.php b/src/Entities/QuestionTypes/imageclozetext_validation_alt_responses_item.php
index 2078a255..06747639 100644
--- a/src/Entities/QuestionTypes/imageclozetext_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/imageclozetext_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * Alternate response. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * Alternate response. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Alternate response. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * Alternate response. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageclozetext_validation_valid_response.php b/src/Entities/QuestionTypes/imageclozetext_validation_valid_response.php
index 9e7af5eb..47b7db28 100644
--- a/src/Entities/QuestionTypes/imageclozetext_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/imageclozetext_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageclozetext_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageclozetext_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid responses for each response in response_positions in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid responses for each response in response_positions in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid responses for each response in response_positions in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid responses for each response in response_positions in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imagetool.php b/src/Entities/QuestionTypes/imagetool.php
index 57cb3ebd..84ae5b72 100644
--- a/src/Entities/QuestionTypes/imagetool.php
+++ b/src/Entities/QuestionTypes/imagetool.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imagetool extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imagetool extends BaseQuestionType
+{
protected $type;
protected $metadata;
protected $image;
@@ -18,181 +19,217 @@ class imagetool extends BaseQuestionType {
protected $button;
protected $buttonicon;
protected $label;
-
+
public function __construct(
- $type,
- $image
- )
- {
- $this->type = $type;
- $this->image = $image;
- }
+ $type,
+ $image
+ ) {
+ $this->type = $type;
+ $this->image = $image;
+ }
/**
- * Get Feature Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Feature Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Feature Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Feature Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get metadata \
- * \
- * @return object $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return object $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param object $metadata \
- */
- public function set_metadata ($metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param object $metadata \
+ */
+ public function set_metadata($metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Image \
- * Supports a protractor, ruler-15-cm, ruler-30-cm, ruler-6-inches, ruler-12-inches or a URI to an image. \
- * @return string $image \
- */
- public function get_image() {
+ * Get Image \
+ * Supports a protractor, ruler-15-cm, ruler-30-cm, ruler-6-inches, ruler-12-inches or a URI to an image. \
+ *
+ * @return string $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Image \
- * Supports a protractor, ruler-15-cm, ruler-30-cm, ruler-6-inches, ruler-12-inches or a URI to an image. \
- * @param string $image \
- */
- public function set_image ($image) {
+ * Set Image \
+ * Supports a protractor, ruler-15-cm, ruler-30-cm, ruler-6-inches, ruler-12-inches or a URI to an image. \
+ *
+ * @param string $image \
+ */
+ public function set_image($image)
+ {
$this->image = $image;
}
/**
- * Get Show rotate icon? \
- * Renders a rotate icon that is draggable and allows the image rotate. \
- * @return boolean $rotate \
- */
- public function get_rotate() {
+ * Get Show rotate icon? \
+ * Renders a rotate icon that is draggable and allows the image rotate. \
+ *
+ * @return boolean $rotate \
+ */
+ public function get_rotate()
+ {
return $this->rotate;
}
/**
- * Set Show rotate icon? \
- * Renders a rotate icon that is draggable and allows the image rotate. \
- * @param boolean $rotate \
- */
- public function set_rotate ($rotate) {
+ * Set Show rotate icon? \
+ * Renders a rotate icon that is draggable and allows the image rotate. \
+ *
+ * @param boolean $rotate \
+ */
+ public function set_rotate($rotate)
+ {
$this->rotate = $rotate;
}
/**
- * Get Width \
- * Width of the image in pixels. Can only be used with custom URI image. \
- * @return string $width \
- */
- public function get_width() {
+ * Get Width \
+ * Width of the image in pixels. Can only be used with custom URI image. \
+ *
+ * @return string $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width \
- * Width of the image in pixels. Can only be used with custom URI image. \
- * @param string $width \
- */
- public function set_width ($width) {
+ * Set Width \
+ * Width of the image in pixels. Can only be used with custom URI image. \
+ *
+ * @param string $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height \
- * Height of the image in pixels. Can only be used with custom URI image. \
- * @return string $height \
- */
- public function get_height() {
+ * Get Height \
+ * Height of the image in pixels. Can only be used with custom URI image. \
+ *
+ * @return string $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height \
- * Height of the image in pixels. Can only be used with custom URI image. \
- * @param string $height \
- */
- public function set_height ($height) {
+ * Set Height \
+ * Height of the image in pixels. Can only be used with custom URI image. \
+ *
+ * @param string $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
/**
- * Get Button \
- * Renders a button for toggling the image tool. \
- * @return boolean $button \
- */
- public function get_button() {
+ * Get Button \
+ * Renders a button for toggling the image tool. \
+ *
+ * @return boolean $button \
+ */
+ public function get_button()
+ {
return $this->button;
}
/**
- * Set Button \
- * Renders a button for toggling the image tool. \
- * @param boolean $button \
- */
- public function set_button ($button) {
+ * Set Button \
+ * Renders a button for toggling the image tool. \
+ *
+ * @param boolean $button \
+ */
+ public function set_button($button)
+ {
$this->button = $button;
}
/**
- * Get Button Icon \
- * Supports a protractor, ruler, generic or a URI to an image. \
- * @return string $buttonicon \
- */
- public function get_buttonicon() {
+ * Get Button Icon \
+ * Supports a protractor, ruler, generic or a URI to an image. \
+ *
+ * @return string $buttonicon \
+ */
+ public function get_buttonicon()
+ {
return $this->buttonicon;
}
/**
- * Set Button Icon \
- * Supports a protractor, ruler, generic or a URI to an image. \
- * @param string $buttonicon \
- */
- public function set_buttonicon ($buttonicon) {
+ * Set Button Icon \
+ * Supports a protractor, ruler, generic or a URI to an image. \
+ *
+ * @param string $buttonicon \
+ */
+ public function set_buttonicon($buttonicon)
+ {
$this->buttonicon = $buttonicon;
}
/**
- * Get Label \
- * Toggle button label text to display. \
- * @return string $label \
- */
- public function get_label() {
+ * Get Label \
+ * Toggle button label text to display. \
+ *
+ * @return string $label \
+ */
+ public function get_label()
+ {
return $this->label;
}
/**
- * Set Label \
- * Toggle button label text to display. \
- * @param string $label \
- */
- public function set_label ($label) {
+ * Set Label \
+ * Toggle button label text to display. \
+ *
+ * @param string $label \
+ */
+ public function set_label($label)
+ {
$this->label = $label;
}
-
- public function get_widget_type() {
- return 'feature';
+
+ public function get_widget_type()
+ {
+ return 'feature';
}
}
diff --git a/src/Entities/QuestionTypes/imageupload.php b/src/Entities/QuestionTypes/imageupload.php
index a7a24ac9..52036b93 100644
--- a/src/Entities/QuestionTypes/imageupload.php
+++ b/src/Entities/QuestionTypes/imageupload.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageupload extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageupload extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -22,261 +23,313 @@ class imageupload extends BaseQuestionType {
protected $imageValidationAreas;
protected $max_width;
protected $case_sensitive;
-
+
public function __construct(
- $type
- )
- {
- $this->type = $type;
- }
+ $type
+ ) {
+ $this->type = $type;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return imageupload_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return imageupload_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param imageupload_metadata $metadata \
- */
- public function set_metadata (imageupload_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param imageupload_metadata $metadata \
+ */
+ public function set_metadata(imageupload_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return imageupload_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return imageupload_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param imageupload_ui_style $ui_style \
- */
- public function set_ui_style (imageupload_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param imageupload_ui_style $ui_style \
+ */
+ public function set_ui_style(imageupload_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return imageupload_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return imageupload_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param imageupload_validation $validation \
- */
- public function set_validation (imageupload_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param imageupload_validation $validation \
+ */
+ public function set_validation(imageupload_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Stimulus Image \
- * Define an image to be annotated. \
- * @return imageupload_image $image \
- */
- public function get_image() {
+ * Get Stimulus Image \
+ * Define an image to be annotated. \
+ *
+ * @return imageupload_image $image \
+ */
+ public function get_image()
+ {
return $this->image;
}
/**
- * Set Stimulus Image \
- * Define an image to be annotated. \
- * @param imageupload_image $image \
- */
- public function set_image (imageupload_image $image) {
+ * Set Stimulus Image \
+ * Define an image to be annotated. \
+ *
+ * @param imageupload_image $image \
+ */
+ public function set_image(imageupload_image $image)
+ {
$this->image = $image;
}
/**
- * Get Image Validation Areas \
- * An array of validation areas for an author defined image \
- * @return array $imageValidationAreas \
- */
- public function get_imageValidationAreas() {
+ * Get Image Validation Areas \
+ * An array of validation areas for an author defined image \
+ *
+ * @return array $imageValidationAreas \
+ */
+ public function get_imageValidationAreas()
+ {
return $this->imageValidationAreas;
}
/**
- * Set Image Validation Areas \
- * An array of validation areas for an author defined image \
- * @param array $imageValidationAreas \
- */
- public function set_imageValidationAreas (array $imageValidationAreas) {
+ * Set Image Validation Areas \
+ * An array of validation areas for an author defined image \
+ *
+ * @param array $imageValidationAreas \
+ */
+ public function set_imageValidationAreas(array $imageValidationAreas)
+ {
$this->imageValidationAreas = $imageValidationAreas;
}
/**
- * Get Max Width \
- * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
- * @return string $max_width \
- */
- public function get_max_width() {
+ * Get Max Width \
+ * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
+ *
+ * @return string $max_width \
+ */
+ public function get_max_width()
+ {
return $this->max_width;
}
/**
- * Set Max Width \
- * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
- * @param string $max_width \
- */
- public function set_max_width ($max_width) {
+ * Set Max Width \
+ * Max width of response area. Define in em, px; or set to 'none' to stretch to full width of container. \
+ *
+ * @param string $max_width \
+ */
+ public function set_max_width($max_width)
+ {
$this->max_width = $max_width;
}
/**
- * Get Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @return boolean $case_sensitive \
- */
- public function get_case_sensitive() {
+ * Get Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @return boolean $case_sensitive \
+ */
+ public function get_case_sensitive()
+ {
return $this->case_sensitive;
}
/**
- * Set Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @param boolean $case_sensitive \
- */
- public function set_case_sensitive ($case_sensitive) {
+ * Set Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @param boolean $case_sensitive \
+ */
+ public function set_case_sensitive($case_sensitive)
+ {
$this->case_sensitive = $case_sensitive;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/imageupload_image.php b/src/Entities/QuestionTypes/imageupload_image.php
index 7a7b15e4..92570a27 100644
--- a/src/Entities/QuestionTypes/imageupload_image.php
+++ b/src/Entities/QuestionTypes/imageupload_image.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageupload_image extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageupload_image extends BaseQuestionTypeAttribute
+{
protected $source;
protected $width;
protected $height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Source URL \
- * The image that should be displayed. \
- * @return string $source \
- */
- public function get_source() {
+ * Get Source URL \
+ * The image that should be displayed. \
+ *
+ * @return string $source \
+ */
+ public function get_source()
+ {
return $this->source;
}
/**
- * Set Source URL \
- * The image that should be displayed. \
- * @param string $source \
- */
- public function set_source ($source) {
+ * Set Source URL \
+ * The image that should be displayed. \
+ *
+ * @param string $source \
+ */
+ public function set_source($source)
+ {
$this->source = $source;
}
/**
- * Get Width in pixels \
- * The pixel width of the image is needed to calculate the aspect ratio of the image. \
- * @return number $width \
- */
- public function get_width() {
+ * Get Width in pixels \
+ * The pixel width of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @return number $width \
+ */
+ public function get_width()
+ {
return $this->width;
}
/**
- * Set Width in pixels \
- * The pixel width of the image is needed to calculate the aspect ratio of the image. \
- * @param number $width \
- */
- public function set_width ($width) {
+ * Set Width in pixels \
+ * The pixel width of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @param number $width \
+ */
+ public function set_width($width)
+ {
$this->width = $width;
}
/**
- * Get Height in pixels \
- * The pixel height of the image is needed to calculate the aspect ratio of the image. \
- * @return number $height \
- */
- public function get_height() {
+ * Get Height in pixels \
+ * The pixel height of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @return number $height \
+ */
+ public function get_height()
+ {
return $this->height;
}
/**
- * Set Height in pixels \
- * The pixel height of the image is needed to calculate the aspect ratio of the image. \
- * @param number $height \
- */
- public function set_height ($height) {
+ * Set Height in pixels \
+ * The pixel height of the image is needed to calculate the aspect ratio of the image. \
+ *
+ * @param number $height \
+ */
+ public function set_height($height)
+ {
$this->height = $height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageupload_metadata.php b/src/Entities/QuestionTypes/imageupload_metadata.php
index c62f072f..d0397870 100644
--- a/src/Entities/QuestionTypes/imageupload_metadata.php
+++ b/src/Entities/QuestionTypes/imageupload_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageupload_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageupload_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageupload_ui_style.php b/src/Entities/QuestionTypes/imageupload_ui_style.php
index 13dbad29..ce4a45da 100644
--- a/src/Entities/QuestionTypes/imageupload_ui_style.php
+++ b/src/Entities/QuestionTypes/imageupload_ui_style.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageupload_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageupload_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $validation_stem_numeration;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function get_validation_stem_numeration() {
+ * Get Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @return string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function get_validation_stem_numeration()
+ {
return $this->validation_stem_numeration;
}
/**
- * Set Validation Stem Numeration \
- * Numeration character to be displayed to the left of the validation label. \
- * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
- */
- public function set_validation_stem_numeration ($validation_stem_numeration) {
+ * Set Validation Stem Numeration \
+ * Numeration character to be displayed to the left of the validation label. \
+ *
+ * @param string $validation_stem_numeration ie. number, upper-alpha, lower-alpha \
+ */
+ public function set_validation_stem_numeration($validation_stem_numeration)
+ {
$this->validation_stem_numeration = $validation_stem_numeration;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageupload_validation.php b/src/Entities/QuestionTypes/imageupload_validation.php
index c8f61433..592561d0 100644
--- a/src/Entities/QuestionTypes/imageupload_validation.php
+++ b/src/Entities/QuestionTypes/imageupload_validation.php
@@ -5,100 +5,116 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageupload_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageupload_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @return string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
- h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
- given for each correct response area \
- * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly
'partialMatchV2': Partial Match - A relative part of the score will be given for eac
+ * h correct response area
'partialMatch': Partial Match per response - Cumulative Score value will be
+ * given for each correct response area \
+ *
+ * @param string $scoring_type ie. exactMatch, partialMatch, partialMatchV2 \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return imageupload_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return imageupload_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param imageupload_validation_valid_response $valid_response \
- */
- public function set_valid_response (imageupload_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param imageupload_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(imageupload_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/imageupload_validation_valid_response.php b/src/Entities/QuestionTypes/imageupload_validation_valid_response.php
index fc8fe092..dbd8a7bb 100644
--- a/src/Entities/QuestionTypes/imageupload_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/imageupload_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class imageupload_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class imageupload_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * An array containing the valid response for each validation area, in corresponding order. \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * An array containing the valid response for each validation area, in corresponding order. \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * An array containing the valid response for each validation area, in corresponding order. \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * An array containing the valid response for each validation area, in corresponding order. \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/longtext.php b/src/Entities/QuestionTypes/longtext.php
index 8e77c498..be709372 100644
--- a/src/Entities/QuestionTypes/longtext.php
+++ b/src/Entities/QuestionTypes/longtext.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class longtext extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class longtext extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -24,319 +25,379 @@ class longtext extends BaseQuestionType {
protected $submit_over_limit;
protected $placeholder;
protected $show_word_limit;
-
+
public function __construct(
- $type
- )
- {
- $this->type = $type;
- }
+ $type
+ ) {
+ $this->type = $type;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return longtext_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return longtext_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param longtext_metadata $metadata \
- */
- public function set_metadata (longtext_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param longtext_metadata $metadata \
+ */
+ public function set_metadata(longtext_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return longtext_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return longtext_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param longtext_ui_style $ui_style \
- */
- public function set_ui_style (longtext_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param longtext_ui_style $ui_style \
+ */
+ public function set_ui_style(longtext_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @return longtext_validation $validation \
- */
- public function get_validation() {
+ * Get Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @return longtext_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set Validation \
- * Validation object that includes guidelines on for how this question should be marked. \
- * @param longtext_validation $validation \
- */
- public function set_validation (longtext_validation $validation) {
+ * Set Validation \
+ * Validation object that includes guidelines on for how this question should be marked. \
+ *
+ * @param longtext_validation $validation \
+ */
+ public function set_validation(longtext_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Text Formatting Options \
- * An array containing strings of text formatting options to make available. \
- * @return array $formatting_options \
- */
- public function get_formatting_options() {
+ * Get Text Formatting Options \
+ * An array containing strings of text formatting options to make available. \
+ *
+ * @return array $formatting_options \
+ */
+ public function get_formatting_options()
+ {
return $this->formatting_options;
}
/**
- * Set Text Formatting Options \
- * An array containing strings of text formatting options to make available. \
- * @param array $formatting_options \
- */
- public function set_formatting_options (array $formatting_options) {
+ * Set Text Formatting Options \
+ * An array containing strings of text formatting options to make available. \
+ *
+ * @param array $formatting_options \
+ */
+ public function set_formatting_options(array $formatting_options)
+ {
$this->formatting_options = $formatting_options;
}
/**
- * Get Maximum Length (words) \
- * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
- * @return number $max_length \
- */
- public function get_max_length() {
+ * Get Maximum Length (words) \
+ * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
+ *
+ * @return number $max_length \
+ */
+ public function get_max_length()
+ {
return $this->max_length;
}
/**
- * Set Maximum Length (words) \
- * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
- * @param number $max_length \
- */
- public function set_max_length ($max_length) {
+ * Set Maximum Length (words) \
+ * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
+ *
+ * @param number $max_length \
+ */
+ public function set_max_length($max_length)
+ {
$this->max_length = $max_length;
}
/**
- * Get Character Map \
- * If true, the character map button will display in the long text editor toolbar. The character map will display the default set of special characters.
-If an Array, the character map but
- ton will show and display only the array of characters.
IMPORTANTThe HTML
- document will require a charset of utf-8: <meta charset="utf-8">
\
- * @return $character_map \
- */
- public function get_character_map() {
+ * Get Character Map \
+ * If true, the character map button will display in the long text editor toolbar. The character map will display the default set of special characters.
+ * If an Array, the character map but
+ * ton will show and display only the array of characters.
IMPORTANTThe HTML
+ * document will require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @return $character_map \
+ */
+ public function get_character_map()
+ {
return $this->character_map;
}
/**
- * Set Character Map \
- * If true, the character map button will display in the long text editor toolbar. The character map will display the default set of special characters.
-If an Array, the character map but
- ton will show and display only the array of characters.
IMPORTANTThe HTML
- document will require a charset of utf-8: <meta charset="utf-8">
\
- * @param $character_map \
- */
- public function set_character_map ($character_map) {
+ * Set Character Map \
+ * If true, the character map button will display in the long text editor toolbar. The character map will display the default set of special characters.
+ * If an Array, the character map but
+ * ton will show and display only the array of characters.
IMPORTANTThe HTML
+ * document will require a charset of utf-8: <meta charset="utf-8">
\
+ *
+ * @param $character_map \
+ */
+ public function set_character_map($character_map)
+ {
$this->character_map = $character_map;
}
/**
- * Get Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @return boolean $spellcheck \
- */
- public function get_spellcheck() {
+ * Get Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @return boolean $spellcheck \
+ */
+ public function get_spellcheck()
+ {
return $this->spellcheck;
}
/**
- * Set Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @param boolean $spellcheck \
- */
- public function set_spellcheck ($spellcheck) {
+ * Set Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @param boolean $spellcheck \
+ */
+ public function set_spellcheck($spellcheck)
+ {
$this->spellcheck = $spellcheck;
}
/**
- * Get Submit over limit? \
- * Determines if the user is able to save/submit when the word limit has been exceeded. \
- * @return boolean $submit_over_limit \
- */
- public function get_submit_over_limit() {
+ * Get Submit over limit? \
+ * Determines if the user is able to save/submit when the word limit has been exceeded. \
+ *
+ * @return boolean $submit_over_limit \
+ */
+ public function get_submit_over_limit()
+ {
return $this->submit_over_limit;
}
/**
- * Set Submit over limit? \
- * Determines if the user is able to save/submit when the word limit has been exceeded. \
- * @param boolean $submit_over_limit \
- */
- public function set_submit_over_limit ($submit_over_limit) {
+ * Set Submit over limit? \
+ * Determines if the user is able to save/submit when the word limit has been exceeded. \
+ *
+ * @param boolean $submit_over_limit \
+ */
+ public function set_submit_over_limit($submit_over_limit)
+ {
$this->submit_over_limit = $submit_over_limit;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
/**
- * Get Word Limit Setting \
- * Determines how the word limit UI will display. Options are the following strings:
"always": Word
- limit is always shown and updated as the user types
"on-limit": Word limit is only displayed whe
- n the word limit is exceeded
"off": No word limit it shown. \
- * @return string $show_word_limit ie. always, on-limit, off \
- */
- public function get_show_word_limit() {
+ * Get Word Limit Setting \
+ * Determines how the word limit UI will display. Options are the following strings:
"always": Word
+ * limit is always shown and updated as the user types
"on-limit": Word limit is only displayed whe
+ * n the word limit is exceeded
"off": No word limit it shown. \
+ *
+ * @return string $show_word_limit ie. always, on-limit, off \
+ */
+ public function get_show_word_limit()
+ {
return $this->show_word_limit;
}
/**
- * Set Word Limit Setting \
- * Determines how the word limit UI will display. Options are the following strings:
"always": Word
- limit is always shown and updated as the user types
"on-limit": Word limit is only displayed whe
- n the word limit is exceeded
"off": No word limit it shown. \
- * @param string $show_word_limit ie. always, on-limit, off \
- */
- public function set_show_word_limit ($show_word_limit) {
+ * Set Word Limit Setting \
+ * Determines how the word limit UI will display. Options are the following strings:
"always": Word
+ * limit is always shown and updated as the user types
"on-limit": Word limit is only displayed whe
+ * n the word limit is exceeded
"off": No word limit it shown. \
+ *
+ * @param string $show_word_limit ie. always, on-limit, off \
+ */
+ public function set_show_word_limit($show_word_limit)
+ {
$this->show_word_limit = $show_word_limit;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/longtext_metadata.php b/src/Entities/QuestionTypes/longtext_metadata.php
index ead9c904..57d2ffe4 100644
--- a/src/Entities/QuestionTypes/longtext_metadata.php
+++ b/src/Entities/QuestionTypes/longtext_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class longtext_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class longtext_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/longtext_ui_style.php b/src/Entities/QuestionTypes/longtext_ui_style.php
index 8043d86a..d6b2833b 100644
--- a/src/Entities/QuestionTypes/longtext_ui_style.php
+++ b/src/Entities/QuestionTypes/longtext_ui_style.php
@@ -5,73 +5,85 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class longtext_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class longtext_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $min_height;
protected $max_height;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Min height \
- * The minimum height of the text input including units. Example: "100px" \
- * @return string $min_height \
- */
- public function get_min_height() {
+ * Get Min height \
+ * The minimum height of the text input including units. Example: "100px" \
+ *
+ * @return string $min_height \
+ */
+ public function get_min_height()
+ {
return $this->min_height;
}
/**
- * Set Min height \
- * The minimum height of the text input including units. Example: "100px" \
- * @param string $min_height \
- */
- public function set_min_height ($min_height) {
+ * Set Min height \
+ * The minimum height of the text input including units. Example: "100px" \
+ *
+ * @param string $min_height \
+ */
+ public function set_min_height($min_height)
+ {
$this->min_height = $min_height;
}
/**
- * Get Max height \
- * The max height of the text input including units. Example: "100px" \
- * @return string $max_height \
- */
- public function get_max_height() {
+ * Get Max height \
+ * The max height of the text input including units. Example: "100px" \
+ *
+ * @return string $max_height \
+ */
+ public function get_max_height()
+ {
return $this->max_height;
}
/**
- * Set Max height \
- * The max height of the text input including units. Example: "100px" \
- * @param string $max_height \
- */
- public function set_max_height ($max_height) {
+ * Set Max height \
+ * The max height of the text input including units. Example: "100px" \
+ *
+ * @param string $max_height \
+ */
+ public function set_max_height($max_height)
+ {
$this->max_height = $max_height;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/longtext_validation.php b/src/Entities/QuestionTypes/longtext_validation.php
index 335e88a1..fe8de826 100644
--- a/src/Entities/QuestionTypes/longtext_validation.php
+++ b/src/Entities/QuestionTypes/longtext_validation.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class longtext_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class longtext_validation extends BaseQuestionTypeAttribute
+{
protected $max_score;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Max Score \
- * The highest score a marker can award to this question response. \
- * @return number $max_score \
- */
- public function get_max_score() {
+ * Get Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @return number $max_score \
+ */
+ public function get_max_score()
+ {
return $this->max_score;
}
/**
- * Set Max Score \
- * The highest score a marker can award to this question response. \
- * @param number $max_score \
- */
- public function set_max_score ($max_score) {
+ * Set Max Score \
+ * The highest score a marker can award to this question response. \
+ *
+ * @param number $max_score \
+ */
+ public function set_max_score($max_score)
+ {
$this->max_score = $max_score;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/mcq.php b/src/Entities/QuestionTypes/mcq.php
index af93dc8b..1cde3052 100644
--- a/src/Entities/QuestionTypes/mcq.php
+++ b/src/Entities/QuestionTypes/mcq.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -22,269 +23,321 @@ class mcq extends BaseQuestionType {
protected $options;
protected $multiple_responses;
protected $shuffle_options;
-
+
public function __construct(
- $type,
- array $options
- )
- {
- $this->type = $type;
- $this->options = $options;
- }
+ $type,
+ array $options
+ ) {
+ $this->type = $type;
+ $this->options = $options;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return mcq_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return mcq_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param mcq_metadata $metadata \
- */
- public function set_metadata (mcq_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param mcq_metadata $metadata \
+ */
+ public function set_metadata(mcq_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return mcq_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return mcq_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param mcq_ui_style $ui_style \
- */
- public function set_ui_style (mcq_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param mcq_ui_style $ui_style \
+ */
+ public function set_ui_style(mcq_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return mcq_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return mcq_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param mcq_validation $validation \
- */
- public function set_validation (mcq_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param mcq_validation $validation \
+ */
+ public function set_validation(mcq_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @return string $description \
- */
- public function get_description() {
+ * Get Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @return string $description \
+ */
+ public function get_description()
+ {
return $this->description;
}
/**
- * Set Description (deprecated) \
- * Deprecated See stimulus_review.
-Description of the question and
- its context to be displayed.
-It supports HTML entities. \
- * @param string $description \
- */
- public function set_description ($description) {
+ * Set Description (deprecated) \
+ * Deprecated See stimulus_review.
+ * Description of the question and
+ * its context to be displayed.
+ * It supports HTML entities. \
+ *
+ * @param string $description \
+ */
+ public function set_description($description)
+ {
$this->description = $description;
}
/**
- * Get Multiple choice options \
- * Options support HTML for formatting or MathJax syntax. \
- * @return array $options \
- */
- public function get_options() {
+ * Get Multiple choice options \
+ * Options support HTML for formatting or MathJax syntax. \
+ *
+ * @return array $options \
+ */
+ public function get_options()
+ {
return $this->options;
}
/**
- * Set Multiple choice options \
- * Options support HTML for formatting or MathJax syntax. \
- * @param array $options \
- */
- public function set_options (array $options) {
+ * Set Multiple choice options \
+ * Options support HTML for formatting or MathJax syntax. \
+ *
+ * @param array $options \
+ */
+ public function set_options(array $options)
+ {
$this->options = $options;
}
/**
- * Get Multiple responses \
- * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
- * @return boolean $multiple_responses \
- */
- public function get_multiple_responses() {
+ * Get Multiple responses \
+ * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
+ *
+ * @return boolean $multiple_responses \
+ */
+ public function get_multiple_responses()
+ {
return $this->multiple_responses;
}
/**
- * Set Multiple responses \
- * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
- * @param boolean $multiple_responses \
- */
- public function set_multiple_responses ($multiple_responses) {
+ * Set Multiple responses \
+ * If multiple_responses is true the user will be able to select multiple responses using a checkbox for each response. \
+ *
+ * @param boolean $multiple_responses \
+ */
+ public function set_multiple_responses($multiple_responses)
+ {
$this->multiple_responses = $multiple_responses;
}
/**
- * Get Shuffle options \
- * \
- * @return boolean $shuffle_options \
- */
- public function get_shuffle_options() {
+ * Get Shuffle options \
+ * \
+ *
+ * @return boolean $shuffle_options \
+ */
+ public function get_shuffle_options()
+ {
return $this->shuffle_options;
}
/**
- * Set Shuffle options \
- * \
- * @param boolean $shuffle_options \
- */
- public function set_shuffle_options ($shuffle_options) {
+ * Set Shuffle options \
+ * \
+ *
+ * @param boolean $shuffle_options \
+ */
+ public function set_shuffle_options($shuffle_options)
+ {
$this->shuffle_options = $shuffle_options;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/mcq_metadata.php b/src/Entities/QuestionTypes/mcq_metadata.php
index d7d5971c..c35b8660 100644
--- a/src/Entities/QuestionTypes/mcq_metadata.php
+++ b/src/Entities/QuestionTypes/mcq_metadata.php
@@ -5,136 +5,160 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
protected $response_shuffle_seed;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor rationale per response \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor rationale per response \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor rationale per response \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor rationale per response \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
/**
- * Get Response shuffle seed \
- * A seed to use to randomise the order of response options. If set, the responses will be shuffled according to this seed,
- and all students will see the same randomised order. \
- * @return string $response_shuffle_seed \
- */
- public function get_response_shuffle_seed() {
+ * Get Response shuffle seed \
+ * A seed to use to randomise the order of response options. If set, the responses will be shuffled according to this seed,
+ * and all students will see the same randomised order. \
+ *
+ * @return string $response_shuffle_seed \
+ */
+ public function get_response_shuffle_seed()
+ {
return $this->response_shuffle_seed;
}
/**
- * Set Response shuffle seed \
- * A seed to use to randomise the order of response options. If set, the responses will be shuffled according to this seed,
- and all students will see the same randomised order. \
- * @param string $response_shuffle_seed \
- */
- public function set_response_shuffle_seed ($response_shuffle_seed) {
+ * Set Response shuffle seed \
+ * A seed to use to randomise the order of response options. If set, the responses will be shuffled according to this seed,
+ * and all students will see the same randomised order. \
+ *
+ * @param string $response_shuffle_seed \
+ */
+ public function set_response_shuffle_seed($response_shuffle_seed)
+ {
$this->response_shuffle_seed = $response_shuffle_seed;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/mcq_options_item.php b/src/Entities/QuestionTypes/mcq_options_item.php
index eeb5c529..6cba7f5e 100644
--- a/src/Entities/QuestionTypes/mcq_options_item.php
+++ b/src/Entities/QuestionTypes/mcq_options_item.php
@@ -5,56 +5,64 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq_options_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq_options_item extends BaseQuestionTypeAttribute
+{
protected $value;
protected $label;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Value \
- * Value for this option that would be stored as the response if selected. \
- * @return string $value \
- */
- public function get_value() {
+ * Get Value \
+ * Value for this option that would be stored as the response if selected. \
+ *
+ * @return string $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * Value for this option that would be stored as the response if selected. \
- * @param string $value \
- */
- public function set_value ($value) {
+ * Set Value \
+ * Value for this option that would be stored as the response if selected. \
+ *
+ * @param string $value \
+ */
+ public function set_value($value)
+ {
$this->value = $value;
}
/**
- * Get Label \
- * Label to be displayed for this option - plain string with HTML
- allowed for formatting or mathjax syntax. \
- * @return string $label \
- */
- public function get_label() {
+ * Get Label \
+ * Label to be displayed for this option - plain string with HTML
+ * allowed for formatting or mathjax syntax. \
+ *
+ * @return string $label \
+ */
+ public function get_label()
+ {
return $this->label;
}
/**
- * Set Label \
- * Label to be displayed for this option - plain string with HTML
- allowed for formatting or mathjax syntax. \
- * @param string $label \
- */
- public function set_label ($label) {
+ * Set Label \
+ * Label to be displayed for this option - plain string with HTML
+ * allowed for formatting or mathjax syntax. \
+ *
+ * @param string $label \
+ */
+ public function set_label($label)
+ {
$this->label = $label;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/mcq_ui_style.php b/src/Entities/QuestionTypes/mcq_ui_style.php
index d12da175..7f1112b8 100644
--- a/src/Entities/QuestionTypes/mcq_ui_style.php
+++ b/src/Entities/QuestionTypes/mcq_ui_style.php
@@ -5,111 +5,131 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
protected $type;
protected $choice_label;
protected $columns;
protected $orientation;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
/**
- * Get Layout \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Layout \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Layout \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Layout \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get Label type \
- * \
- * @return string $choice_label \
- */
- public function get_choice_label() {
+ * Get Label type \
+ * \
+ *
+ * @return string $choice_label \
+ */
+ public function get_choice_label()
+ {
return $this->choice_label;
}
/**
- * Set Label type \
- * \
- * @param string $choice_label \
- */
- public function set_choice_label ($choice_label) {
+ * Set Label type \
+ * \
+ *
+ * @param string $choice_label \
+ */
+ public function set_choice_label($choice_label)
+ {
$this->choice_label = $choice_label;
}
/**
- * Get Number of columns \
- * \
- * @return number $columns \
- */
- public function get_columns() {
+ * Get Number of columns \
+ * \
+ *
+ * @return number $columns \
+ */
+ public function get_columns()
+ {
return $this->columns;
}
/**
- * Set Number of columns \
- * \
- * @param number $columns \
- */
- public function set_columns ($columns) {
+ * Set Number of columns \
+ * \
+ *
+ * @param number $columns \
+ */
+ public function set_columns($columns)
+ {
$this->columns = $columns;
}
/**
- * Get Orientation \
- * Sorts the order of the responses vertically or horizontally \
- * @return string $orientation \
- */
- public function get_orientation() {
+ * Get Orientation \
+ * Sorts the order of the responses vertically or horizontally \
+ *
+ * @return string $orientation \
+ */
+ public function get_orientation()
+ {
return $this->orientation;
}
/**
- * Set Orientation \
- * Sorts the order of the responses vertically or horizontally \
- * @param string $orientation \
- */
- public function set_orientation ($orientation) {
+ * Set Orientation \
+ * Sorts the order of the responses vertically or horizontally \
+ *
+ * @param string $orientation \
+ */
+ public function set_orientation($orientation)
+ {
$this->orientation = $orientation;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/mcq_validation.php b/src/Entities/QuestionTypes/mcq_validation.php
index 518d8404..a7c7bc23 100644
--- a/src/Entities/QuestionTypes/mcq_validation.php
+++ b/src/Entities/QuestionTypes/mcq_validation.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @return string $scoring_type ie. exactMatch \
- */
- public function get_scoring_type() {
+ * Get Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @return string $scoring_type ie. exactMatch \
+ */
+ public function get_scoring_type()
+ {
return $this->scoring_type;
}
/**
- * Set Scoring type \
- * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
- t match exactly \
- * @param string $scoring_type ie. exactMatch \
- */
- public function set_scoring_type ($scoring_type) {
+ * Set Scoring type \
+ * Defines the scoring approach used. Possible options:
'exactMatch': Exact Match - Entire response mus
+ * t match exactly \
+ *
+ * @param string $scoring_type ie. exactMatch \
+ */
+ public function set_scoring_type($scoring_type)
+ {
$this->scoring_type = $scoring_type;
}
/**
- * Get Valid response \
- * An object containing the valid response score and value. \
- * @return mcq_validation_valid_response $valid_response \
- */
- public function get_valid_response() {
+ * Get Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @return mcq_validation_valid_response $valid_response \
+ */
+ public function get_valid_response()
+ {
return $this->valid_response;
}
/**
- * Set Valid response \
- * An object containing the valid response score and value. \
- * @param mcq_validation_valid_response $valid_response \
- */
- public function set_valid_response (mcq_validation_valid_response $valid_response) {
+ * Set Valid response \
+ * An object containing the valid response score and value. \
+ *
+ * @param mcq_validation_valid_response $valid_response \
+ */
+ public function set_valid_response(mcq_validation_valid_response $valid_response)
+ {
$this->valid_response = $valid_response;
}
/**
- * Get Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @return array $alt_responses \
- */
- public function get_alt_responses() {
+ * Get Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @return array $alt_responses \
+ */
+ public function get_alt_responses()
+ {
return $this->alt_responses;
}
/**
- * Set Alternate responses \
- * An array of alternate response objects used for giving a supplementary value if the question was not valid \
- * @param array $alt_responses \
- */
- public function set_alt_responses (array $alt_responses) {
+ * Set Alternate responses \
+ * An array of alternate response objects used for giving a supplementary value if the question was not valid \
+ *
+ * @param array $alt_responses \
+ */
+ public function set_alt_responses(array $alt_responses)
+ {
$this->alt_responses = $alt_responses;
}
/**
- * Get Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @return string $rounding \
- */
- public function get_rounding() {
+ * Get Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @return string $rounding \
+ */
+ public function get_rounding()
+ {
return $this->rounding;
}
/**
- * Set Rounding \
- * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
- plied, floor: Rounded down to the nearest whole number. \
- * @param string $rounding \
- */
- public function set_rounding ($rounding) {
+ * Set Rounding \
+ * Method for rounding the score after it has been calculated as a fraction of score. none: No rounding ap
+ * plied, floor: Rounded down to the nearest whole number. \
+ *
+ * @param string $rounding \
+ */
+ public function set_rounding($rounding)
+ {
$this->rounding = $rounding;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/mcq_validation_alt_responses_item.php b/src/Entities/QuestionTypes/mcq_validation_alt_responses_item.php
index adf2c0c1..9dc480ff 100644
--- a/src/Entities/QuestionTypes/mcq_validation_alt_responses_item.php
+++ b/src/Entities/QuestionTypes/mcq_validation_alt_responses_item.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq_validation_alt_responses_item extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq_validation_alt_responses_item extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this alternate response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this alternate response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this alternate response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this alternate response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * A list of valid answers for mcq options \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * A list of valid answers for mcq options \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * A list of valid answers for mcq options \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * A list of valid answers for mcq options \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/mcq_validation_valid_response.php b/src/Entities/QuestionTypes/mcq_validation_valid_response.php
index 6151099f..69e2a94f 100644
--- a/src/Entities/QuestionTypes/mcq_validation_valid_response.php
+++ b/src/Entities/QuestionTypes/mcq_validation_valid_response.php
@@ -5,54 +5,62 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class mcq_validation_valid_response extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class mcq_validation_valid_response extends BaseQuestionTypeAttribute
+{
protected $score;
protected $value;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Score \
- * Score for this valid response. \
- * @return number $score \
- */
- public function get_score() {
+ * Get Score \
+ * Score for this valid response. \
+ *
+ * @return number $score \
+ */
+ public function get_score()
+ {
return $this->score;
}
/**
- * Set Score \
- * Score for this valid response. \
- * @param number $score \
- */
- public function set_score ($score) {
+ * Set Score \
+ * Score for this valid response. \
+ *
+ * @param number $score \
+ */
+ public function set_score($score)
+ {
$this->score = $score;
}
/**
- * Get Value \
- * A list of valid answers for mcq options \
- * @return array $value \
- */
- public function get_value() {
+ * Get Value \
+ * A list of valid answers for mcq options \
+ *
+ * @return array $value \
+ */
+ public function get_value()
+ {
return $this->value;
}
/**
- * Set Value \
- * A list of valid answers for mcq options \
- * @param array $value \
- */
- public function set_value (array $value) {
+ * Set Value \
+ * A list of valid answers for mcq options \
+ *
+ * @param array $value \
+ */
+ public function set_value(array $value)
+ {
$this->value = $value;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/numberline.php b/src/Entities/QuestionTypes/numberline.php
index c591ca99..e5c6e63c 100644
--- a/src/Entities/QuestionTypes/numberline.php
+++ b/src/Entities/QuestionTypes/numberline.php
@@ -5,10 +5,11 @@
use LearnosityQti\Entities\BaseQuestionType;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class numberline extends BaseQuestionType {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class numberline extends BaseQuestionType
+{
protected $is_math;
protected $metadata;
protected $stimulus;
@@ -24,301 +25,361 @@ class numberline extends BaseQuestionType {
protected $snap_to_ticks;
protected $snap_vertically;
protected $points;
-
+
public function __construct(
- $type,
- array $points
- )
- {
- $this->type = $type;
- $this->points = $points;
- }
+ $type,
+ array $points
+ ) {
+ $this->type = $type;
+ $this->points = $points;
+ }
/**
- * Get Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @return boolean $is_math \
- */
- public function get_is_math() {
+ * Get Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @return boolean $is_math \
+ */
+ public function get_is_math()
+ {
return $this->is_math;
}
/**
- * Set Has Mathematical Formulas \
- * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
- * @param boolean $is_math \
- */
- public function set_is_math ($is_math) {
+ * Set Has Mathematical Formulas \
+ * Set to true to have LaTeX or MathML contents to be rendered with mathjax. \
+ *
+ * @param boolean $is_math \
+ */
+ public function set_is_math($is_math)
+ {
$this->is_math = $is_math;
}
/**
- * Get metadata \
- * \
- * @return numberline_metadata $metadata \
- */
- public function get_metadata() {
+ * Get metadata \
+ * \
+ *
+ * @return numberline_metadata $metadata \
+ */
+ public function get_metadata()
+ {
return $this->metadata;
}
/**
- * Set metadata \
- * \
- * @param numberline_metadata $metadata \
- */
- public function set_metadata (numberline_metadata $metadata) {
+ * Set metadata \
+ * \
+ *
+ * @param numberline_metadata $metadata \
+ */
+ public function set_metadata(numberline_metadata $metadata)
+ {
$this->metadata = $metadata;
}
/**
- * Get Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @return string $stimulus \
- */
- public function get_stimulus() {
+ * Get Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @return string $stimulus \
+ */
+ public function get_stimulus()
+ {
return $this->stimulus;
}
/**
- * Set Stimulus \
- * HTML/Text content displayed in all states (initial, resume, review) ren
- dered above the response area. Supports embedded Feature <span> tags. \
- * @param string $stimulus \
- */
- public function set_stimulus ($stimulus) {
+ * Set Stimulus \
+ * HTML/Text content displayed in all states (initial, resume, review) ren
+ * dered above the response area. Supports embedded Feature <span> tags. \
+ *
+ * @param string $stimulus \
+ */
+ public function set_stimulus($stimulus)
+ {
$this->stimulus = $stimulus;
}
/**
- * Get Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @return string $stimulus_review \
- */
- public function get_stimulus_review() {
+ * Get Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @return string $stimulus_review \
+ */
+ public function get_stimulus_review()
+ {
return $this->stimulus_review;
}
/**
- * Set Stimulus in review \
- * HTML/Text content displayed only in review state rende
- red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
- * @param string $stimulus_review \
- */
- public function set_stimulus_review ($stimulus_review) {
+ * Set Stimulus in review \
+ * HTML/Text content displayed only in review state rende
+ * red above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state. \
+ *
+ * @param string $stimulus_review \
+ */
+ public function set_stimulus_review($stimulus_review)
+ {
$this->stimulus_review = $stimulus_review;
}
/**
- * Get Question Type \
- * \
- * @return string $type \
- */
- public function get_type() {
+ * Get Question Type \
+ * \
+ *
+ * @return string $type \
+ */
+ public function get_type()
+ {
return $this->type;
}
/**
- * Set Question Type \
- * \
- * @param string $type \
- */
- public function set_type ($type) {
+ * Set Question Type \
+ * \
+ *
+ * @param string $type \
+ */
+ public function set_type($type)
+ {
$this->type = $type;
}
/**
- * Get ui_style \
- * \
- * @return numberline_ui_style $ui_style \
- */
- public function get_ui_style() {
+ * Get ui_style \
+ * \
+ *
+ * @return numberline_ui_style $ui_style \
+ */
+ public function get_ui_style()
+ {
return $this->ui_style;
}
/**
- * Set ui_style \
- * \
- * @param numberline_ui_style $ui_style \
- */
- public function set_ui_style (numberline_ui_style $ui_style) {
+ * Set ui_style \
+ * \
+ *
+ * @param numberline_ui_style $ui_style \
+ */
+ public function set_ui_style(numberline_ui_style $ui_style)
+ {
$this->ui_style = $ui_style;
}
/**
- * Get Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @return number $feedback_attempts \
- */
- public function get_feedback_attempts() {
+ * Get Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @return number $feedback_attempts \
+ */
+ public function get_feedback_attempts()
+ {
return $this->feedback_attempts;
}
/**
- * Set Number of feedback attempts allowed \
- * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
- 0 being unlimited. \
- * @param number $feedback_attempts \
- */
- public function set_feedback_attempts ($feedback_attempts) {
+ * Set Number of feedback attempts allowed \
+ * If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button, with
+ * 0 being unlimited. \
+ *
+ * @param number $feedback_attempts \
+ */
+ public function set_feedback_attempts($feedback_attempts)
+ {
$this->feedback_attempts = $feedback_attempts;
}
/**
- * Get Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @return boolean $instant_feedback \
- */
- public function get_instant_feedback() {
+ * Get Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @return boolean $instant_feedback \
+ */
+ public function get_instant_feedback()
+ {
return $this->instant_feedback;
}
/**
- * Set Provide instant feedback \
- * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
- * @param boolean $instant_feedback \
- */
- public function set_instant_feedback ($instant_feedback) {
+ * Set Provide instant feedback \
+ * Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user. \
+ *
+ * @param boolean $instant_feedback \
+ */
+ public function set_instant_feedback($instant_feedback)
+ {
$this->instant_feedback = $instant_feedback;
}
/**
- * Get validation \
- * Validation object that includes options on how this question will be automarked \
- * @return numberline_validation $validation \
- */
- public function get_validation() {
+ * Get validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @return numberline_validation $validation \
+ */
+ public function get_validation()
+ {
return $this->validation;
}
/**
- * Set validation \
- * Validation object that includes options on how this question will be automarked \
- * @param numberline_validation $validation \
- */
- public function set_validation (numberline_validation $validation) {
+ * Set validation \
+ * Validation object that includes options on how this question will be automarked \
+ *
+ * @param numberline_validation $validation \
+ */
+ public function set_validation(numberline_validation $validation)
+ {
$this->validation = $validation;
}
/**
- * Get Line \
- * Defines the number line \
- * @return numberline_line $line \
- */
- public function get_line() {
+ * Get Line \
+ * Defines the number line \
+ *
+ * @return numberline_line $line \
+ */
+ public function get_line()
+ {
return $this->line;
}
/**
- * Set Line \
- * Defines the number line \
- * @param numberline_line $line \
- */
- public function set_line (numberline_line $line) {
+ * Set Line \
+ * Defines the number line \
+ *
+ * @param numberline_line $line \
+ */
+ public function set_line(numberline_line $line)
+ {
$this->line = $line;
}
/**
- * Get Ticks \
- * Defines the Number line ticks \
- * @return numberline_ticks $ticks \
- */
- public function get_ticks() {
+ * Get Ticks \
+ * Defines the Number line ticks \
+ *
+ * @return numberline_ticks $ticks \
+ */
+ public function get_ticks()
+ {
return $this->ticks;
}
/**
- * Set Ticks \
- * Defines the Number line ticks \
- * @param numberline_ticks $ticks \
- */
- public function set_ticks (numberline_ticks $ticks) {
+ * Set Ticks \
+ * Defines the Number line ticks \
+ *
+ * @param numberline_ticks $ticks \
+ */
+ public function set_ticks(numberline_ticks $ticks)
+ {
$this->ticks = $ticks;
}
/**
- * Get Labels \
- * Defines the labels to draw on the number line \
- * @return numberline_labels $labels \
- */
- public function get_labels() {
+ * Get Labels \
+ * Defines the labels to draw on the number line \
+ *
+ * @return numberline_labels $labels \
+ */
+ public function get_labels()
+ {
return $this->labels;
}
/**
- * Set Labels \
- * Defines the labels to draw on the number line \
- * @param numberline_labels $labels \
- */
- public function set_labels (numberline_labels $labels) {
+ * Set Labels \
+ * Defines the labels to draw on the number line \
+ *
+ * @param numberline_labels $labels \
+ */
+ public function set_labels(numberline_labels $labels)
+ {
$this->labels = $labels;
}
/**
- * Get Snap to ticks \
- * Whether dragged points should snap to the ticks specified by ticks.distance and labels.points \
- * @return boolean $snap_to_ticks \
- */
- public function get_snap_to_ticks() {
+ * Get Snap to ticks \
+ * Whether dragged points should snap to the ticks specified by ticks.distance and labels.points \
+ *
+ * @return boolean $snap_to_ticks \
+ */
+ public function get_snap_to_ticks()
+ {
return $this->snap_to_ticks;
}
/**
- * Set Snap to ticks \
- * Whether dragged points should snap to the ticks specified by ticks.distance and labels.points \
- * @param boolean $snap_to_ticks \
- */
- public function set_snap_to_ticks ($snap_to_ticks) {
+ * Set Snap to ticks \
+ * Whether dragged points should snap to the ticks specified by ticks.distance and labels.points \
+ *
+ * @param boolean $snap_to_ticks \
+ */
+ public function set_snap_to_ticks($snap_to_ticks)
+ {
$this->snap_to_ticks = $snap_to_ticks;
}
/**
- * Get Snap vertically \
- * Whether dragged points should snap to the line when dropped above it \
- * @return boolean $snap_vertically \
- */
- public function get_snap_vertically() {
+ * Get Snap vertically \
+ * Whether dragged points should snap to the line when dropped above it \
+ *
+ * @return boolean $snap_vertically \
+ */
+ public function get_snap_vertically()
+ {
return $this->snap_vertically;
}
/**
- * Set Snap vertically \
- * Whether dragged points should snap to the line when dropped above it \
- * @param boolean $snap_vertically \
- */
- public function set_snap_vertically ($snap_vertically) {
+ * Set Snap vertically \
+ * Whether dragged points should snap to the line when dropped above it \
+ *
+ * @param boolean $snap_vertically \
+ */
+ public function set_snap_vertically($snap_vertically)
+ {
$this->snap_vertically = $snap_vertically;
}
/**
- * Get Points \
- * Array containing the points the user has to position on the number line. Possible formats are: text, number, fraction an
- d mixed fraction. The field doesn't support LaTeX because of rendering complexity. \
- * @return array $points \
- */
- public function get_points() {
+ * Get Points \
+ * Array containing the points the user has to position on the number line. Possible formats are: text, number, fraction an
+ * d mixed fraction. The field doesn't support LaTeX because of rendering complexity. \
+ *
+ * @return array $points \
+ */
+ public function get_points()
+ {
return $this->points;
}
/**
- * Set Points \
- * Array containing the points the user has to position on the number line. Possible formats are: text, number, fraction an
- d mixed fraction. The field doesn't support LaTeX because of rendering complexity. \
- * @param array $points \
- */
- public function set_points (array $points) {
+ * Set Points \
+ * Array containing the points the user has to position on the number line. Possible formats are: text, number, fraction an
+ * d mixed fraction. The field doesn't support LaTeX because of rendering complexity. \
+ *
+ * @param array $points \
+ */
+ public function set_points(array $points)
+ {
$this->points = $points;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/numberline_labels.php b/src/Entities/QuestionTypes/numberline_labels.php
index 8e4484c1..d36de172 100644
--- a/src/Entities/QuestionTypes/numberline_labels.php
+++ b/src/Entities/QuestionTypes/numberline_labels.php
@@ -5,92 +5,108 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class numberline_labels extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class numberline_labels extends BaseQuestionTypeAttribute
+{
protected $frequency;
protected $points;
protected $show_min;
protected $show_max;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Frequency \
- * Frequency with which to draw labels \
- * @return number $frequency \
- */
- public function get_frequency() {
+ * Get Frequency \
+ * Frequency with which to draw labels \
+ *
+ * @return number $frequency \
+ */
+ public function get_frequency()
+ {
return $this->frequency;
}
/**
- * Set Frequency \
- * Frequency with which to draw labels \
- * @param number $frequency \
- */
- public function set_frequency ($frequency) {
+ * Set Frequency \
+ * Frequency with which to draw labels \
+ *
+ * @param number $frequency \
+ */
+ public function set_frequency($frequency)
+ {
$this->frequency = $frequency;
}
/**
- * Get Points \
- * Specific point at which labels need to be drawn. Separate values by commas, eg: -2.5, 2.5 \
- * @return string $points \
- */
- public function get_points() {
+ * Get Points \
+ * Specific point at which labels need to be drawn. Separate values by commas, eg: -2.5, 2.5 \
+ *
+ * @return string $points \
+ */
+ public function get_points()
+ {
return $this->points;
}
/**
- * Set Points \
- * Specific point at which labels need to be drawn. Separate values by commas, eg: -2.5, 2.5 \
- * @param string $points \
- */
- public function set_points ($points) {
+ * Set Points \
+ * Specific point at which labels need to be drawn. Separate values by commas, eg: -2.5, 2.5 \
+ *
+ * @param string $points \
+ */
+ public function set_points($points)
+ {
$this->points = $points;
}
/**
- * Get Show min \
- * Whether to draw a label on the min value of the number line \
- * @return boolean $show_min \
- */
- public function get_show_min() {
+ * Get Show min \
+ * Whether to draw a label on the min value of the number line \
+ *
+ * @return boolean $show_min \
+ */
+ public function get_show_min()
+ {
return $this->show_min;
}
/**
- * Set Show min \
- * Whether to draw a label on the min value of the number line \
- * @param boolean $show_min \
- */
- public function set_show_min ($show_min) {
+ * Set Show min \
+ * Whether to draw a label on the min value of the number line \
+ *
+ * @param boolean $show_min \
+ */
+ public function set_show_min($show_min)
+ {
$this->show_min = $show_min;
}
/**
- * Get Show max \
- * Whether to draw a label on the max value of the number line \
- * @return boolean $show_max \
- */
- public function get_show_max() {
+ * Get Show max \
+ * Whether to draw a label on the max value of the number line \
+ *
+ * @return boolean $show_max \
+ */
+ public function get_show_max()
+ {
return $this->show_max;
}
/**
- * Set Show max \
- * Whether to draw a label on the max value of the number line \
- * @param boolean $show_max \
- */
- public function set_show_max ($show_max) {
+ * Set Show max \
+ * Whether to draw a label on the max value of the number line \
+ *
+ * @param boolean $show_max \
+ */
+ public function set_show_max($show_max)
+ {
$this->show_max = $show_max;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/numberline_line.php b/src/Entities/QuestionTypes/numberline_line.php
index 2802ef23..0f0fec25 100644
--- a/src/Entities/QuestionTypes/numberline_line.php
+++ b/src/Entities/QuestionTypes/numberline_line.php
@@ -5,111 +5,131 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class numberline_line extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class numberline_line extends BaseQuestionTypeAttribute
+{
protected $min;
protected $max;
protected $left_arrow;
protected $right_arrow;
protected $title;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Min \
- * The minimum value on the number line \
- * @return number $min \
- */
- public function get_min() {
+ * Get Min \
+ * The minimum value on the number line \
+ *
+ * @return number $min \
+ */
+ public function get_min()
+ {
return $this->min;
}
/**
- * Set Min \
- * The minimum value on the number line \
- * @param number $min \
- */
- public function set_min ($min) {
+ * Set Min \
+ * The minimum value on the number line \
+ *
+ * @param number $min \
+ */
+ public function set_min($min)
+ {
$this->min = $min;
}
/**
- * Get Max \
- * The maximum value on the number line \
- * @return number $max \
- */
- public function get_max() {
+ * Get Max \
+ * The maximum value on the number line \
+ *
+ * @return number $max \
+ */
+ public function get_max()
+ {
return $this->max;
}
/**
- * Set Max \
- * The maximum value on the number line \
- * @param number $max \
- */
- public function set_max ($max) {
+ * Set Max \
+ * The maximum value on the number line \
+ *
+ * @param number $max \
+ */
+ public function set_max($max)
+ {
$this->max = $max;
}
/**
- * Get Left arrow \
- * Whether to draw an arrow on the left hand side of the line \
- * @return boolean $left_arrow \
- */
- public function get_left_arrow() {
+ * Get Left arrow \
+ * Whether to draw an arrow on the left hand side of the line \
+ *
+ * @return boolean $left_arrow \
+ */
+ public function get_left_arrow()
+ {
return $this->left_arrow;
}
/**
- * Set Left arrow \
- * Whether to draw an arrow on the left hand side of the line \
- * @param boolean $left_arrow \
- */
- public function set_left_arrow ($left_arrow) {
+ * Set Left arrow \
+ * Whether to draw an arrow on the left hand side of the line \
+ *
+ * @param boolean $left_arrow \
+ */
+ public function set_left_arrow($left_arrow)
+ {
$this->left_arrow = $left_arrow;
}
/**
- * Get Right arrow \
- * Whether to draw an arrow on the right hand side of the line \
- * @return boolean $right_arrow \
- */
- public function get_right_arrow() {
+ * Get Right arrow \
+ * Whether to draw an arrow on the right hand side of the line \
+ *
+ * @return boolean $right_arrow \
+ */
+ public function get_right_arrow()
+ {
return $this->right_arrow;
}
/**
- * Set Right arrow \
- * Whether to draw an arrow on the right hand side of the line \
- * @param boolean $right_arrow \
- */
- public function set_right_arrow ($right_arrow) {
+ * Set Right arrow \
+ * Whether to draw an arrow on the right hand side of the line \
+ *
+ * @param boolean $right_arrow \
+ */
+ public function set_right_arrow($right_arrow)
+ {
$this->right_arrow = $right_arrow;
}
/**
- * Get Title \
- * Line's title to display underneath it \
- * @return string $title \
- */
- public function get_title() {
+ * Get Title \
+ * Line's title to display underneath it \
+ *
+ * @return string $title \
+ */
+ public function get_title()
+ {
return $this->title;
}
/**
- * Set Title \
- * Line's title to display underneath it \
- * @param string $title \
- */
- public function set_title ($title) {
+ * Set Title \
+ * Line's title to display underneath it \
+ *
+ * @param string $title \
+ */
+ public function set_title($title)
+ {
$this->title = $title;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/numberline_metadata.php b/src/Entities/QuestionTypes/numberline_metadata.php
index 853e249f..92f45cb4 100644
--- a/src/Entities/QuestionTypes/numberline_metadata.php
+++ b/src/Entities/QuestionTypes/numberline_metadata.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class numberline_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class numberline_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
protected $distractor_rationale_response_level;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
/**
- * Get Distractor Rationale per response \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return array $distractor_rationale_response_level \
- */
- public function get_distractor_rationale_response_level() {
+ * Get Distractor Rationale per response \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return array $distractor_rationale_response_level \
+ */
+ public function get_distractor_rationale_response_level()
+ {
return $this->distractor_rationale_response_level;
}
/**
- * Set Distractor Rationale per response \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param array $distractor_rationale_response_level \
- */
- public function set_distractor_rationale_response_level (array $distractor_rationale_response_level) {
+ * Set Distractor Rationale per response \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param array $distractor_rationale_response_level \
+ */
+ public function set_distractor_rationale_response_level(array $distractor_rationale_response_level)
+ {
$this->distractor_rationale_response_level = $distractor_rationale_response_level;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/numberline_ticks.php b/src/Entities/QuestionTypes/numberline_ticks.php
index 5fada2aa..8b74bbdc 100644
--- a/src/Entities/QuestionTypes/numberline_ticks.php
+++ b/src/Entities/QuestionTypes/numberline_ticks.php
@@ -5,110 +5,126 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class numberline_ticks extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class numberline_ticks extends BaseQuestionTypeAttribute
+{
protected $distance;
protected $fractions;
protected $base;
protected $show;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distance \
- * The distance between ticks on the number line \
- * @return string/number $distance \
- */
- public function get_distance() {
+ * Get Distance \
+ * The distance between ticks on the number line \
+ *
+ * @return string/number $distance \
+ */
+ public function get_distance()
+ {
return $this->distance;
}
/**
- * Set Distance \
- * The distance between ticks on the number line \
- * @param string/number $distance \
- */
- public function set_distance ($distance) {
+ * Set Distance \
+ * The distance between ticks on the number line \
+ *
+ * @param string /number $distance \
+ */
+ public function set_distance($distance)
+ {
$this->distance = $distance;
}
/**
- * Get Fractions format \
- *
-
-
If the distance is set to a fraction this will determine in which format the fractions will b + * e rendered on the Number Line. Select to display only: + *
If the distance is set to a fraction this will determine in which format the fractions will b - e rendered on the Number Line. Select to display only: -
If the distance is set to a fraction this will determine in which format the fractions will b + * e rendered on the Number Line. Select to display only: + *
<meta charset="utf-8">
\
- * @return $character_map \
- */
- public function get_character_map() {
+ * Get Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.<meta charset="utf-8">
\
+ *
+ * @return $character_map \
+ */
+ public function get_character_map()
+ {
return $this->character_map;
}
/**
- * Set Character Map \
- * If true, the character map button will display within the short text field. The character map will display the default set of special characters.<meta charset="utf-8">
\
- * @param $character_map \
- */
- public function set_character_map ($character_map) {
+ * Set Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.<meta charset="utf-8">
\
+ *
+ * @param $character_map \
+ */
+ public function set_character_map($character_map)
+ {
$this->character_map = $character_map;
}
/**
- * Get Maximum Length (words) \
- * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
- * @return number $max_length \
- */
- public function get_max_length() {
+ * Get Maximum Length (words) \
+ * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
+ *
+ * @return number $max_length \
+ */
+ public function get_max_length()
+ {
return $this->max_length;
}
/**
- * Set Maximum Length (words) \
- * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
- * @param number $max_length \
- */
- public function set_max_length ($max_length) {
+ * Set Maximum Length (words) \
+ * Maximum number of words that can be entered in the field. Maximum: 100,000 chars ~ 10,000 words To Be Confirmed \
+ *
+ * @param number $max_length \
+ */
+ public function set_max_length($max_length)
+ {
$this->max_length = $max_length;
}
/**
- * Get Show Copy Button \
- * When this is true the Copy Button is shown in the plain text toolbar. \
- * @return boolean $show_copy \
- */
- public function get_show_copy() {
+ * Get Show Copy Button \
+ * When this is true the Copy Button is shown in the plain text toolbar. \
+ *
+ * @return boolean $show_copy \
+ */
+ public function get_show_copy()
+ {
return $this->show_copy;
}
/**
- * Set Show Copy Button \
- * When this is true the Copy Button is shown in the plain text toolbar. \
- * @param boolean $show_copy \
- */
- public function set_show_copy ($show_copy) {
+ * Set Show Copy Button \
+ * When this is true the Copy Button is shown in the plain text toolbar. \
+ *
+ * @param boolean $show_copy \
+ */
+ public function set_show_copy($show_copy)
+ {
$this->show_copy = $show_copy;
}
/**
- * Get Show Cut Button \
- * When this is true the Cut button is shown in the plain text toolbar. \
- * @return boolean $show_cut \
- */
- public function get_show_cut() {
+ * Get Show Cut Button \
+ * When this is true the Cut button is shown in the plain text toolbar. \
+ *
+ * @return boolean $show_cut \
+ */
+ public function get_show_cut()
+ {
return $this->show_cut;
}
/**
- * Set Show Cut Button \
- * When this is true the Cut button is shown in the plain text toolbar. \
- * @param boolean $show_cut \
- */
- public function set_show_cut ($show_cut) {
+ * Set Show Cut Button \
+ * When this is true the Cut button is shown in the plain text toolbar. \
+ *
+ * @param boolean $show_cut \
+ */
+ public function set_show_cut($show_cut)
+ {
$this->show_cut = $show_cut;
}
/**
- * Get Show Paste Button \
- * When this is true the Paste button is shown in the plain text toolbar. \
- * @return boolean $show_paste \
- */
- public function get_show_paste() {
+ * Get Show Paste Button \
+ * When this is true the Paste button is shown in the plain text toolbar. \
+ *
+ * @return boolean $show_paste \
+ */
+ public function get_show_paste()
+ {
return $this->show_paste;
}
/**
- * Set Show Paste Button \
- * When this is true the Paste button is shown in the plain text toolbar. \
- * @param boolean $show_paste \
- */
- public function set_show_paste ($show_paste) {
+ * Set Show Paste Button \
+ * When this is true the Paste button is shown in the plain text toolbar. \
+ *
+ * @param boolean $show_paste \
+ */
+ public function set_show_paste($show_paste)
+ {
$this->show_paste = $show_paste;
}
/**
- * Get Word Limit Setting \
- * Determines how the word limit UI will display. Options are the following strings: <meta charset="utf-8">
\
- * @return $character_map \
- */
- public function get_character_map() {
+ * Get Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.<meta charset="utf-8">
\
+ *
+ * @return $character_map \
+ */
+ public function get_character_map()
+ {
return $this->character_map;
}
/**
- * Set Character Map \
- * If true, the character map button will display within the short text field. The character map will display the default set of special characters.<meta charset="utf-8">
\
- * @param $character_map \
- */
- public function set_character_map ($character_map) {
+ * Set Character Map \
+ * If true, the character map button will display within the short text field. The character map will display the default set of special characters.<meta charset="utf-8">
\
+ *
+ * @param $character_map \
+ */
+ public function set_character_map($character_map)
+ {
$this->character_map = $character_map;
}
/**
- * Get Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @return boolean $spellcheck \
- */
- public function get_spellcheck() {
+ * Get Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @return boolean $spellcheck \
+ */
+ public function get_spellcheck()
+ {
return $this->spellcheck;
}
/**
- * Set Browser Spellcheck \
- * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
- e. \
- * @param boolean $spellcheck \
- */
- public function set_spellcheck ($spellcheck) {
+ * Set Browser Spellcheck \
+ * Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be availabl
+ * e. \
+ *
+ * @param boolean $spellcheck \
+ */
+ public function set_spellcheck($spellcheck)
+ {
$this->spellcheck = $spellcheck;
}
/**
- * Get Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @return string $placeholder \
- */
- public function get_placeholder() {
+ * Get Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @return string $placeholder \
+ */
+ public function get_placeholder()
+ {
return $this->placeholder;
}
/**
- * Set Placeholder \
- * Text to display as a hint to the user of what to enter \
- * @param string $placeholder \
- */
- public function set_placeholder ($placeholder) {
+ * Set Placeholder \
+ * Text to display as a hint to the user of what to enter \
+ *
+ * @param string $placeholder \
+ */
+ public function set_placeholder($placeholder)
+ {
$this->placeholder = $placeholder;
}
/**
- * Get Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @return boolean $case_sensitive \
- */
- public function get_case_sensitive() {
+ * Get Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @return boolean $case_sensitive \
+ */
+ public function get_case_sensitive()
+ {
return $this->case_sensitive;
}
/**
- * Set Case Sensitive? \
- * If true, responses will be compared against valid_responses considering the letters' case. \
- * @param boolean $case_sensitive \
- */
- public function set_case_sensitive ($case_sensitive) {
+ * Set Case Sensitive? \
+ * If true, responses will be compared against valid_responses considering the letters' case. \
+ *
+ * @param boolean $case_sensitive \
+ */
+ public function set_case_sensitive($case_sensitive)
+ {
$this->case_sensitive = $case_sensitive;
}
/**
- * Get Response container \
- * Array containing objects defining each individual response container style. \
- * @return shorttext_response_container $response_container \
- */
- public function get_response_container() {
+ * Get Response container \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @return shorttext_response_container $response_container \
+ */
+ public function get_response_container()
+ {
return $this->response_container;
}
/**
- * Set Response container \
- * Array containing objects defining each individual response container style. \
- * @param shorttext_response_container $response_container \
- */
- public function set_response_container (shorttext_response_container $response_container) {
+ * Set Response container \
+ * Array containing objects defining each individual response container style. \
+ *
+ * @param shorttext_response_container $response_container \
+ */
+ public function set_response_container(shorttext_response_container $response_container)
+ {
$this->response_container = $response_container;
}
-
- public function get_widget_type() {
- return 'response';
+
+ public function get_widget_type()
+ {
+ return 'response';
}
}
diff --git a/src/Entities/QuestionTypes/shorttext_metadata.php b/src/Entities/QuestionTypes/shorttext_metadata.php
index e08e8c0a..7db99835 100644
--- a/src/Entities/QuestionTypes/shorttext_metadata.php
+++ b/src/Entities/QuestionTypes/shorttext_metadata.php
@@ -5,94 +5,110 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class shorttext_metadata extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class shorttext_metadata extends BaseQuestionTypeAttribute
+{
protected $distractor_rationale;
protected $rubric_reference;
protected $sample_answer;
protected $acknowledgements;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @return string $distractor_rationale \
- */
- public function get_distractor_rationale() {
+ * Get Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @return string $distractor_rationale \
+ */
+ public function get_distractor_rationale()
+ {
return $this->distractor_rationale;
}
/**
- * Set Distractor Rationale \
- * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
- ment. \
- * @param string $distractor_rationale \
- */
- public function set_distractor_rationale ($distractor_rationale) {
+ * Set Distractor Rationale \
+ * Used for storing the distractor rationales that map to responses in the same order for use/rendering by the host environ
+ * ment. \
+ *
+ * @param string $distractor_rationale \
+ */
+ public function set_distractor_rationale($distractor_rationale)
+ {
$this->distractor_rationale = $distractor_rationale;
}
/**
- * Get Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @return string $rubric_reference \
- */
- public function get_rubric_reference() {
+ * Get Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @return string $rubric_reference \
+ */
+ public function get_rubric_reference()
+ {
return $this->rubric_reference;
}
/**
- * Set Rubric Reference \
- * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
- * @param string $rubric_reference \
- */
- public function set_rubric_reference ($rubric_reference) {
+ * Set Rubric Reference \
+ * A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity \
+ *
+ * @param string $rubric_reference \
+ */
+ public function set_rubric_reference($rubric_reference)
+ {
$this->rubric_reference = $rubric_reference;
}
/**
- * Get Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @return string $sample_answer \
- */
- public function get_sample_answer() {
+ * Get Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @return string $sample_answer \
+ */
+ public function get_sample_answer()
+ {
return $this->sample_answer;
}
/**
- * Set Sample Answer \
- * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
- * @param string $sample_answer \
- */
- public function set_sample_answer ($sample_answer) {
+ * Set Sample Answer \
+ * A sample answer to be displayed on the Learnosity Reports API. HTML is supported. \
+ *
+ * @param string $sample_answer \
+ */
+ public function set_sample_answer($sample_answer)
+ {
$this->sample_answer = $sample_answer;
}
/**
- * Get Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @return string $acknowledgements \
- */
- public function get_acknowledgements() {
+ * Get Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @return string $acknowledgements \
+ */
+ public function get_acknowledgements()
+ {
return $this->acknowledgements;
}
/**
- * Set Acknowledgements \
- * References for any text passages, documents, images etc. used in the question. \
- * @param string $acknowledgements \
- */
- public function set_acknowledgements ($acknowledgements) {
+ * Set Acknowledgements \
+ * References for any text passages, documents, images etc. used in the question. \
+ *
+ * @param string $acknowledgements \
+ */
+ public function set_acknowledgements($acknowledgements)
+ {
$this->acknowledgements = $acknowledgements;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/shorttext_response_container.php b/src/Entities/QuestionTypes/shorttext_response_container.php
index 9668ad6a..68507639 100644
--- a/src/Entities/QuestionTypes/shorttext_response_container.php
+++ b/src/Entities/QuestionTypes/shorttext_response_container.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class shorttext_response_container extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class shorttext_response_container extends BaseQuestionTypeAttribute
+{
protected $input_type;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Input type \
- * Type of input \
- * @return string $input_type \
- */
- public function get_input_type() {
+ * Get Input type \
+ * Type of input \
+ *
+ * @return string $input_type \
+ */
+ public function get_input_type()
+ {
return $this->input_type;
}
/**
- * Set Input type \
- * Type of input \
- * @param string $input_type \
- */
- public function set_input_type ($input_type) {
+ * Set Input type \
+ * Type of input \
+ *
+ * @param string $input_type \
+ */
+ public function set_input_type($input_type)
+ {
$this->input_type = $input_type;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/shorttext_ui_style.php b/src/Entities/QuestionTypes/shorttext_ui_style.php
index 5db9c799..68a9a51d 100644
--- a/src/Entities/QuestionTypes/shorttext_ui_style.php
+++ b/src/Entities/QuestionTypes/shorttext_ui_style.php
@@ -5,35 +5,39 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class shorttext_ui_style extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class shorttext_ui_style extends BaseQuestionTypeAttribute
+{
protected $fontsize;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function get_fontsize() {
+ * Get Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @return string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function get_fontsize()
+ {
return $this->fontsize;
}
/**
- * Set Font size \
- * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
- * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
- */
- public function set_fontsize ($fontsize) {
+ * Set Font size \
+ * Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'. \
+ *
+ * @param string $fontsize ie. small, normal, large, xlarge, xxlarge \
+ */
+ public function set_fontsize($fontsize)
+ {
$this->fontsize = $fontsize;
}
-
+
}
diff --git a/src/Entities/QuestionTypes/shorttext_validation.php b/src/Entities/QuestionTypes/shorttext_validation.php
index d6be422e..93e000b5 100644
--- a/src/Entities/QuestionTypes/shorttext_validation.php
+++ b/src/Entities/QuestionTypes/shorttext_validation.php
@@ -5,115 +5,135 @@
use LearnosityQti\Entities\BaseQuestionTypeAttribute;
/**
-* This class is auto-generated based on Schemas API and you should not modify its content
-* Metadata: {"responses":"v2.84.0","feedback":"v2.71.0","features":"v2.84.0"}
-*/
-class shorttext_validation extends BaseQuestionTypeAttribute {
+ * This class is auto-generated based on Schemas API and you should not modify its content
+ * Metadata: {"responses":"v2.86.0","feedback":"v2.71.0","features":"v2.84.0"}
+ */
+class shorttext_validation extends BaseQuestionTypeAttribute
+{
protected $penalty;
protected $scoring_type;
protected $valid_response;
protected $alt_responses;
protected $rounding;
-
- public function __construct(
- )
+
+ public function __construct()
{
- }
+ }
/**
- * Get Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @return number $penalty \
- */
- public function get_penalty() {
+ * Get Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @return number $penalty \
+ */
+ public function get_penalty()
+ {
return $this->penalty;
}
/**
- * Set Penalty score \
- * Positive value indicating the marks deducted for an incorrect response. \
- * @param number $penalty \
- */
- public function set_penalty ($penalty) {
+ * Set Penalty score \
+ * Positive value indicating the marks deducted for an incorrect response. \
+ *
+ * @param number $penalty \
+ */
+ public function set_penalty($penalty)
+ {
$this->penalty = $penalty;
}
/**
- * Get Scoring type \
- * Defines the scoring approach used. Possible options:Instructions for Section A
+Instructions for Section B
+Instructions for Section A
+Instructions for Section B
+