You are here

public function CourseHandler::getWarnings in Course 7

Same name and namespace in other branches
  1. 6 includes/course.core.inc \CourseHandler::getWarnings()
  2. 7.2 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/CourseHandler.inc
Get the summary of an object's options.
CourseObjectNode::getWarnings in includes/CourseObjectNode.inc
Show a warning if this object has an instance, but the node does not exist.
1 method overrides CourseHandler::getWarnings()
CourseObjectNode::getWarnings in includes/CourseObjectNode.inc
Show a warning if this object has an instance, but the node does not exist.

File

includes/CourseHandler.inc, line 185

Class

CourseHandler
Master class for anything Course related.

Code

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