Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

Database activity renderer.

Copyright: 2010 Sam Hemelryk
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 311 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: mod_data_renderer  - X-Ref

import_setting_mappings($datamodule, data_preset_importer $importer)   X-Ref
Rendering setting and mapping page to import a preset.

param: stdClass $datamodule  Database module to import to.
param: data_preset_importer $importer Importer instance to use for the importing.
return: string

importing_preset(stdClass $datamodule, \mod_data\local\importer\preset_importer $importer)   X-Ref
Importing a preset on a database module.

param: stdClass $datamodule  Database module to import to.
param: \mod_data\local\importer\preset_importer $importer Importer instance to use for the importing.
return: string

render_fields_action_bar(\mod_data\output\fields_action_bar $actionbar)   X-Ref
Renders the action bar for the field page.

param: \mod_data\output\fields_action_bar $actionbar
return: string The HTML output

render_fields_footer(manager $manager)   X-Ref
Renders the fields page footer.

param: manager $manager the instance manager
return: string The HTML output

render_view_action_bar(\mod_data\output\view_action_bar $actionbar)   X-Ref
Renders the action bar for the view page.

param: \mod_data\output\view_action_bar $actionbar
return: string The HTML output

render_templates_action_bar(\mod_data\output\templates_action_bar $actionbar)   X-Ref
Renders the action bar for the template page.

param: \mod_data\output\templates_action_bar $actionbar
return: string The HTML output

render_presets_action_bar(\mod_data\output\presets_action_bar $actionbar)   X-Ref
Renders the action bar for the preset page.

param: \mod_data\output\presets_action_bar $actionbar
return: string The HTML output

render_presets(\mod_data\output\presets $presets)   X-Ref
Renders the presets table in the preset page.

param: \mod_data\output\presets $presets
return: string The HTML output

render_defaulttemplate(\mod_data\output\defaulttemplate $template)   X-Ref
Renders the default template.

param: \mod_data\output\defaulttemplate $template
return: string The HTML output

render_database_zero_state(\mod_data\manager $manager)   X-Ref
Renders the action bar for the zero state (no fields created) page.

param: \mod_data\manager $manager The manager instance.
return: string The HTML output

render_empty_database(\mod_data\manager $manager)   X-Ref
Renders the action bar for an empty database view page.

param: \mod_data\manager $manager The manager instance.
return: string The HTML output

render_fields_zero_state(\mod_data\manager $manager)   X-Ref
Renders the action bar for the zero state (no fields created) page.

param: \mod_data\manager $manager The manager instance.
return: string The HTML output

render_templates_zero_state(\mod_data\manager $manager)   X-Ref
Renders the action bar for the templates zero state (no fields created) page.

param: \mod_data\manager $manager The manager instance.
return: string The HTML output