Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 39 and 311]

Table log for generating data in ajax mode.

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

Defines 1 class

report_loglive_table_log_ajax:: (2 methods):
  out()
  action_link()


Class: report_loglive_table_log_ajax  - X-Ref

Table log class for generating data in ajax mode.

out($pagesize, $useinitialsbar, $downloadhelpbutton = '')   X-Ref
Convenience method to call a number of methods for you to display the
table.

param: int $pagesize pagesize
param: bool $useinitialsbar Not used, present only for compatibility with parent.
param: string $downloadhelpbutton Not used, present only for compatibility with parent.
return: string json encoded data containing html of new rows.

action_link(moodle_url $url, $text, $name = 'popup')   X-Ref
Popup actions do not function when they are rendered in response to an AJAX request, encode within the link itself

param: moodle_url $url
param: string $text
param: string $name
return: string