original_string: public static function load_template($component, $template, $themename, $includecomments = false) {
          global $DB, $CFG, $PAGE;
  
          $params = self::validate_parameters(self::load_template_parameters(),
                                              array('component' => $component,
                                                    'template' => $template,
                                                    'themename' => $themename,
                                                    'includecomments' => $includecomments));
  
          $loader = new mustache_template_source_loader();
          // Will throw exceptions if the template does not exist.
          return $loader->load(
              $params['component'],
              $params['template'],
              $params['themename'],
              $params['includecomments']
          );
      }
code: public static function load_template($component, $template, $themename, $includecomments = false) {
          global $DB, $CFG, $PAGE;
  
          $params = self::validate_parameters(self::load_template_parameters(),
                                              array('component' => $component,
                                                    'template' => $template,
                                                    'themename' => $themename,
                                                    'includecomments' => $includecomments));
  
          $loader = new mustache_template_source_loader();
          // Will throw exceptions if the template does not exist.
          return $loader->load(
              $params['component'],
              $params['template'],
              $params['themename'],
              $params['includecomments']
          );
      }
code_tokens: public static function load_template ( $ component , $ template , $ themename , $ includecomments = false ) { global $ DB , $ CFG , $ PAGE ; $ params = self :: validate_parameters ( self :: load_template_parameters ( ) , array ( 'component' => $ component , 'template' => $ template , 'themename' => $ themename , 'includecomments' => $ includecomments ) ) ; $ loader = new mustache_template_source_loader ( ) ; // Will throw exceptions if the template does not exist. return $ loader -> load ( $ params [ 'component' ] , $ params [ 'template' ] , $ params [ 'themename' ] , $ params [ 'includecomments' ] ) ; }
docstring: Return a mustache template, and all the strings it requires.
  
  @param string $component The component that holds the template.
  @param string $templatename The name of the template.
  @param string $themename The name of the current theme.
  @return string the template
docstring_tokens: Return a mustache template and all the strings it requires .