You are here

public function CourseObjectSignup::take in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::take()
  2. 7 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::take()

Overrides CourseObject::take

File

modules/course_signup/course_signup.classes.inc, line 22

Class

CourseObjectSignup

Code

public function take() {
  if ($this
    ->getFulfillment()
    ->isComplete()) {
    return "You have been marked attended by an administrator.";
  }
  else {
    return "You must be marked attended by an administrator.";
  }
}