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 310 and 400] [Versions 39 and 400]

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.

return: string json encoded data containing html of new rows.
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.

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

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