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);
    }
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);
    }
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 ) ; }
Loads the data required to render the user_evidence_page template.

@param int $id User id.
@return boolean
Loads the data required to render the user_evidence_page template .