public function prepare_for_view(stdClass $course, array $coursestoload, $ignorefilters = false) {
        debugging('The prepare_for_view() function has been deprecated. Please update your code to use set_sources()',
                DEBUG_DEVELOPER);
        $this->set_sources($course, $coursestoload);
    }
public function prepare_for_view(stdClass $course, array $coursestoload, $ignorefilters = false) {
        debugging('The prepare_for_view() function has been deprecated. Please update your code to use set_sources()',
                DEBUG_DEVELOPER);
        $this->set_sources($course, $coursestoload);
    }
public function prepare_for_view ( stdClass $ course , array $ coursestoload , $ ignorefilters = false ) { debugging ( 'The prepare_for_view() function has been deprecated. Please update your code to use set_sources()' , DEBUG_DEVELOPER ) ; $ this -> set_sources ( $ course , $ coursestoload ) ; }
Initialize calendar information

@deprecated 3.4
@param stdClass $course object
@param array $coursestoload An array of courses [$course->id => $course]
@param bool $ignorefilters options to use filter
Initialize calendar information