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 311 and 403]

Renderable for display of license manager table.

Copyright: 2020 Tom Dickman <tomdickman@catalyst-au.net>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 185 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: table  - X-Ref

Renderable for display of license manager table.

create_license_link()   X-Ref
'Create License' link.

return: string HTML string.

create_license_manager_table(array $licenses, \renderer_base $output)   X-Ref
Create the HTML table for license management.

param: array $licenses
param: \renderer_base $output
return: string HTML for license manager table.

get_license_table_row_data($license, bool $canmoveup, bool $canmovedown, \renderer_base $output)   X-Ref
Get table row data for a license.

param: object $license the license to populate row data for.
param: bool $canmoveup can this row move up.
param: bool $canmovedown can this row move down.
param: \renderer_base $output the renderer
return: \html_table_row of columns values for row.