public function render_no_insights(\context $context) {
        global $OUTPUT, $PAGE;

        // We don't want to disclose the name of the model if it has not been enabled.
        $PAGE->set_title($context->get_context_name());
        $PAGE->set_heading($context->get_context_name());

        $output = $OUTPUT->header();
        $output .= $OUTPUT->notification(get_string('noinsights', 'analytics'), \core\output\notification::NOTIFY_INFO);
        $output .= $OUTPUT->footer();

        return $output;
    }
public function render_no_insights(\context $context) {
        global $OUTPUT, $PAGE;

        // We don't want to disclose the name of the model if it has not been enabled.
        $PAGE->set_title($context->get_context_name());
        $PAGE->set_heading($context->get_context_name());

        $output = $OUTPUT->header();
        $output .= $OUTPUT->notification(get_string('noinsights', 'analytics'), \core\output\notification::NOTIFY_INFO);
        $output .= $OUTPUT->footer();

        return $output;
    }
public function render_no_insights ( \ context $ context ) { global $ OUTPUT , $ PAGE ; // We don't want to disclose the name of the model if it has not been enabled. $ PAGE -> set_title ( $ context -> get_context_name ( ) ) ; $ PAGE -> set_heading ( $ context -> get_context_name ( ) ) ; $ output = $ OUTPUT -> header ( ) ; $ output .= $ OUTPUT -> notification ( get_string ( 'noinsights' , 'analytics' ) , \ core \ output \ notification :: NOTIFY_INFO ) ; $ output .= $ OUTPUT -> footer ( ) ; return $ output ; }
Model without insights info.

@param \context $context
@return string HTML
Model without insights info .