You are here

public function CourseHandler::getWarnings in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseHandler.inc \CourseHandler::getWarnings()
  2. 7 includes/CourseHandler.inc \CourseHandler::getWarnings()

Return a list of warning strings about this handler.

For example, if a user adds a quiz to a course with no questions, trigger a message.

See also

CourseObjectQuiz

CourseObjectWebform

2 calls to CourseHandler::getWarnings()
CourseHandler::getOptionsSummary in includes/course.core.inc
Stub. Get the summary of an object's options.
CourseObjectNode::getWarnings in includes/course_object.core.inc
Return a list of warning strings about this handler.
1 method overrides CourseHandler::getWarnings()
CourseObjectNode::getWarnings in includes/course_object.core.inc
Return a list of warning strings about this handler.

File

includes/course.core.inc, line 206
course.core.inc File for main Course class.

Class

CourseHandler
@file course.core.inc File for main Course class.

Code

public function getWarnings() {
  return array();
}