original_string: public static function data_for_user_evidence_page($id) {
          global $PAGE;
          $params = self::validate_parameters(self::data_for_user_evidence_page_parameters(),
              array('id' => $id));
  
          $userevidence = api::read_user_evidence($id);
          self::validate_context($userevidence->get_context());
          $output = $PAGE->get_renderer('tool_lp');
  
          $renderable = new \tool_lp\output\user_evidence_page($userevidence);
          return $renderable->export_for_template($output);
      }
code: public static function data_for_user_evidence_page($id) {
          global $PAGE;
          $params = self::validate_parameters(self::data_for_user_evidence_page_parameters(),
              array('id' => $id));
  
          $userevidence = api::read_user_evidence($id);
          self::validate_context($userevidence->get_context());
          $output = $PAGE->get_renderer('tool_lp');
  
          $renderable = new \tool_lp\output\user_evidence_page($userevidence);
          return $renderable->export_for_template($output);
      }
code_tokens: public static function data_for_user_evidence_page ( $ id ) { global $ PAGE ; $ params = self :: validate_parameters ( self :: data_for_user_evidence_page_parameters ( ) , array ( 'id' => $ id ) ) ; $ userevidence = api :: read_user_evidence ( $ id ) ; self :: validate_context ( $ userevidence -> get_context ( ) ) ; $ output = $ PAGE -> get_renderer ( 'tool_lp' ) ; $ renderable = new \ tool_lp \ output \ user_evidence_page ( $ userevidence ) ; return $ renderable -> export_for_template ( $ output ) ; }
docstring: Loads the data required to render the user_evidence_page template.
  
  @param int $id User id.
  @return boolean
docstring_tokens: Loads the data required to render the user_evidence_page template .