LDLMS_Base_Answer_Type
Class LDLMS_Base_Answer_Type
Description #
Source #
File: includes/classes/answer-types/class-ldlms-base-answer-type.php
Methods #
- __construct — LDLMS_Base_Answer_Type constructor.
- add_answer_text — Add answer_text node to response object.
- get_answer_key — Answer key. questionID + position.
- get_answers — Get answers data in the form of array.
- get_student_answers — Get submitted answers data in form of array.
- maybe_add_answer_values — Add the values in form of array for all possible answers.
- maybe_add_points — If individual answers points are activated, add points field to each answer.
- setup — Add necessary hooks, call other setup actions.