Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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