Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Class: renderer  - X-Ref

Renderer class for learning plans

render_manage_competency_frameworks_page(manage_competency_frameworks_page $page)   X-Ref
Defer to template.

param: manage_competency_frameworks_page $page
return: string html for the page

render_manage_competencies_page(manage_competencies_page $page)   X-Ref
Defer to template.

param: manage_competencies_page $page
return: string html for the page

render_course_competencies_page(course_competencies_page $page)   X-Ref
Defer to template.

param: course_competencies_page $page
return: string html for the page

render_template_competencies_page(template_competencies_page $page)   X-Ref
Defer to template.

param: template_competencies_page $page
return: string html for the page

render_manage_templates_page(manage_templates_page $page)   X-Ref
Defer to template.

param: manage_templates_page $page
return: string html for the page

render_plan_page(plan_page $page)   X-Ref
Defer to template.

param: plan_page $page
return: bool|string

render_plans_page(plans_page $page)   X-Ref
Defer to template.

param: plans_page $page
return: bool|string

render_related_competencies_section(renderable $page)   X-Ref
Defer to template.

param: renderable $page
return: string

render_user_competency_summary_in_course(user_competency_summary_in_course $page)   X-Ref
Defer to template.

param: user_competency_summary_in_course $page
return: string

render_user_competency_summary_in_plan(user_competency_summary_in_plan $page)   X-Ref
Defer to template.

param: user_competency_summary_in_plan $page
return: string

render_template_plans_page(renderable $page)   X-Ref
Render the template plans page.

param: renderable $page
return: string

render_template_cohorts_page(renderable $page)   X-Ref
Render the template cohorts page.

param: renderable $page
return: string

render_user_evidence_page(user_evidence_page $page)   X-Ref
Defer to template.

param: user_evidence_page $page
return: string

render_user_evidence_list_page(user_evidence_list_page $page)   X-Ref
Defer to template.

param: user_evidence_list_page $page
return: string

render_user_competency_course_navigation(user_competency_course_navigation $nav)   X-Ref
Defer to template.

param: user_competency_course_navigation $nav
return: string

render_competency_plan_navigation(competency_plan_navigation $nav)   X-Ref
Defer to template.

param: competency_plan_navigation $nav
return: string

render_user_competency_summary(user_competency_summary $page)   X-Ref
Defer to template.

param: user_competency_summary $page
return: string

notify_message($message)   X-Ref
Output a nofication.

param: string $message the message to print out
return: string HTML fragment.

notify_problem($message)   X-Ref
Output an error notification.

param: string $message the message to print out
return: string HTML fragment.

notify_success($message)   X-Ref
Output a success notification.

param: string $message the message to print out
return: string HTML fragment.

render_module_navigation(module_navigation $nav)   X-Ref
Defer to template.

param: module_navigation $nav
return: string