You are here

public function CourseObjectSignup::take in Course 7

Same name and namespace in other branches
  1. 6 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::take()
  2. 7.2 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 t("You have been marked attended by an administrator.");
  }
  else {
    return t("You must be marked attended by an administrator.");
  }
}