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.

Renderer class for manage subscriptions page.

Copyright: 2014 onwards Ankit Agarwal <ankit.agrr@gmail.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 110 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

renderer:: (5 methods):
  render_subs()
  render_rules()
  render_course_select()
  render_table()
  render_rules_link()


Class: renderer  - X-Ref

Renderer class for manage subscriptions page.

render_subs(subs $renderable)   X-Ref
Get html to display on the page.

param: subs $renderable renderable widget
return: string to display on the mangesubs page.

render_rules(rules $renderable)   X-Ref
Get html to display on the page.

param: rules $renderable renderable widget
return: string to display on the mangesubs page.

render_course_select(rules $renderable)   X-Ref
Get html to display on the page for select dropdown..

param: rules $renderable renderable widget
return: string to display on the mangesubs page.

render_table($renderable)   X-Ref
Get html to display on the page.

param: rules|subs $renderable renderable widget
return: string to display on the mangesubs page.

render_rules_link($ruleurl)   X-Ref
Html to add a link to go to the rule manager page.

param: moodle_url $ruleurl The url of the rule manager page.
return: string html for the link to the rule manager page.