Browse: Home / Classes / LDLMS_Base_Answer_Type /

LDLMS_Base_Answer_Type::__construct

LDLMS_Base_Answer_Type::__construct( WpProQuiz_Model_Question $question,  string $student_answers = null,  WpProQuiz_Model_StatisticRefModel $stat_ref_model = null )

LDLMS_Base_Answer_Type constructor.


Description #


Parameters #

$question

(WpProQuiz_Model_Question) (Required) Answer data for the question.

$student_answers

(string) (Optional) Submitted answer data by student.

Default value: null

$stat_ref_model

(WpProQuiz_Model_StatisticRefModel) (Optional) Statistics ref model.

Default value: null


Source #

File: includes/classes/answer-types/class-ldlms-base-answer-type.php