You are here

public static function CourseObjectNode::getNodeInstances in Course 7

Same name and namespace in other branches
  1. 7.2 includes/CourseObjectNode.inc \CourseObjectNode::getNodeInstances()

When passed a node, this method should return the "parent" nodes that are contained in a course outline.

For example, if the passed node was a question in a quiz, all the quiz node IDs should be returned.

1 call to CourseObjectNode::getNodeInstances()
CourseObjectNode::context in includes/CourseObjectNode.inc
Course context handler callback.
2 methods override CourseObjectNode::getNodeInstances()
CourseObjectBook::getNodeInstances in modules/course_book/course_book.classes.inc
Course node context handler callback.
CourseObjectQuiz::getNodeInstances in modules/course_quiz/course_quiz.classes.inc
Course node context handler callback.

File

includes/CourseObjectNode.inc, line 48

Class

CourseObjectNode
A course object that uses a node as a base.

Code

public static function getNodeInstances($node) {
  return array();
}