LLMS_Student_Quizzes
Access student quiz attempt data
Description Description
See also See also
- LLMS_Student->quizzes()
Source Source
File: includes/models/model.llms.student.quizzes.php
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
Methods Methods
- count_attempts_by_quiz — Retrieve the number of quiz attempts for a quiz
- delete_attempt — Remove Student Quiz attempt by ID
- get_all — Retrieve quiz data for a student and optionally filter by quiz_id(s)
- get_attempt_by_id — Retrieve an attempt by attempt id
- get_attempt_by_key — Decodes an attempt string and returns the associated attempt
- get_attempts_by_quiz — Retrieve quiz attempts
- get_attempts_remaining_for_quiz — Get the # of attempts remaining by a student for a given quiz
- get_best_attempt — Get the quiz attempt with the highest grade for a given quiz and lesson combination
- get_last_attempt — Retrieve the last recorded attempt for a student for a given quiz/lesson
- get_last_completed_attempt — Get the last completed attempt for a given quiz or quiz/lesson combination
- get_sibling_attempts_by_key — Get all the attempts for a given quiz/lesson from an attempt key
- parse_attempt_key — Parse an attempt key into it's parts