You are here

public function CourseObject::getStatus in Course 7

Same name and namespace in other branches
  1. 6 includes/course_object.core.inc \CourseObject::getStatus()
  2. 7.2 includes/CourseObject.inc \CourseObject::getStatus()

Get the user's status in this course object.

This is how an object would notify the user why they cannot proceed to the next step from the course outline. For example, if this was a quiz and they failed, this should let them know.

2 methods override CourseObject::getStatus()
CourseObjectManual::getStatus in modules/course_object_manual/course_object_manual.classes.inc
Return a message about the user's status in this object, for when this object is hidden.
CourseObjectQuiz::getStatus in modules/course_quiz/course_quiz.classes.inc
Get the status of this quiz for the requirements list.

File

includes/CourseObject.inc, line 694

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function getStatus() {
}