original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: 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
docstring_tokens: Initialize calendar information