LLMS_Question::grade( array[] $answer )

Attempt to grade a question


Description Description


Parameters Parameters

$answer

(Required) Selected answer(s).


Top ↑

Return Return

(string|null) Returns null if the question cannot be automatically graded. Returns yes for correct answers and no for incorrect answers.


Top ↑

Source Source

File: includes/models/model.llms.question.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Combined nested if statements into a single condition.
3.16.15 Unknown.
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.