Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 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: 196 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.