original_string: public static function data_for_course_competencies_page($courseid) {
          global $PAGE;
          $params = self::validate_parameters(self::data_for_course_competencies_page_parameters(), array(
              'courseid' => $courseid,
          ));
          self::validate_context(context_course::instance($params['courseid']));
  
          $renderable = new output\course_competencies_page($params['courseid']);
          $renderer = $PAGE->get_renderer('tool_lp');
  
          $data = $renderable->export_for_template($renderer);
  
          return $data;
      }
code: public static function data_for_course_competencies_page($courseid) {
          global $PAGE;
          $params = self::validate_parameters(self::data_for_course_competencies_page_parameters(), array(
              'courseid' => $courseid,
          ));
          self::validate_context(context_course::instance($params['courseid']));
  
          $renderable = new output\course_competencies_page($params['courseid']);
          $renderer = $PAGE->get_renderer('tool_lp');
  
          $data = $renderable->export_for_template($renderer);
  
          return $data;
      }
code_tokens: public static function data_for_course_competencies_page ( $ courseid ) { global $ PAGE ; $ params = self :: validate_parameters ( self :: data_for_course_competencies_page_parameters ( ) , array ( 'courseid' => $ courseid , ) ) ; self :: validate_context ( context_course :: instance ( $ params [ 'courseid' ] ) ) ; $ renderable = new output \ course_competencies_page ( $ params [ 'courseid' ] ) ; $ renderer = $ PAGE -> get_renderer ( 'tool_lp' ) ; $ data = $ renderable -> export_for_template ( $ renderer ) ; return $ data ; }
docstring: Loads the data required to render the course_competencies_page template.
  
  @param int $courseid The course id to check.
  @return boolean
docstring_tokens: Loads the data required to render the course_competencies_page template .