Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Loglive report renderer.

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

Defines 1 class

report_loglive_renderer:: (5 methods):
  render_report_loglive_renderable()
  render_report_loglive()
  reader_selector()
  toggle_liveupdate_button()
  render_table()


Class: report_loglive_renderer  - X-Ref

Report log renderer's for printing reports.

render_report_loglive_renderable(report_loglive_renderable $reportloglive)   X-Ref
This method should never be manually called, it should only be called by process.
Please call the render method instead.

param: report_loglive_renderable $reportloglive
return: string

render_report_loglive(report_loglive_renderable $reportloglive)   X-Ref
Return html to render the loglive page..

param: report_loglive_renderable $reportloglive object of report_log.
return: string html used to render the page;

reader_selector(report_loglive_renderable $reportloglive)   X-Ref
Prints/return reader selector

param: report_loglive_renderable $reportloglive log report.
return: string Returns rendered widget

toggle_liveupdate_button(report_loglive_renderable $reportloglive)   X-Ref
Prints a button to update/resume live updates.

param: report_loglive_renderable $reportloglive log report.
return: string Returns rendered widget

render_table(report_loglive_table_log $table, $perpage)   X-Ref
Get the html for the table.

param: report_loglive_table_log $table table object.
param: int $perpage entries to display perpage.
return: string table html