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.

Differences Between: [Versions 310 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.