Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 39 and 400]

Renderer class for tool customlang

Copyright: 2019 Bas Brands <bas@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 65 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: renderer  - X-Ref

Renderer for the customlang tool.

render_tool_customlang_translator(\tool_customlang_translator $translator)   X-Ref
Defer to template.

return: string Html for the translator
param: tool_customlang_translator $translator

render_tool_customlang_menu(\tool_customlang_menu $menu)   X-Ref
Defer to template.

return: string html the customlang menu buttons
param: tool_customlang_menu $menu